Skip to content

Minimum System Requirement #46

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
NistantriTech-Dhaval opened this issue Dec 23, 2023 · 1 comment
Open

Minimum System Requirement #46

NistantriTech-Dhaval opened this issue Dec 23, 2023 · 1 comment
Assignees

Comments

@NistantriTech-Dhaval
Copy link

What will be minimum system requirement for thingsboard pe docker with default setting in this repo?
we have aws m6a.xlarge which has 16GB ram with 4 vCpu and it shows 83% ram usage without much load
is it normal normal usage ?

@pon0marev pon0marev self-assigned this Nov 22, 2024
@smatvienko-tb
Copy link
Contributor

Hi!
The memory consumption depends on which setup you choose (basic, advanced). By default, the memory management is not set. And it will consume all the memory you have without boundaries set. Most of the micro services is a Java application. The best practice is to set the exact heap memory and allocate it at the startup. Please, set your own memory size on each microservice depends on your needs.

# .env
# Limit memory usage for each Java application
# JAVA_OPTS=-Xmx2048M -Xms2048M -Xss384k -XX:+AlwaysPreTouch

For JavaScript based (node.js) micro services like js-executor, web-ui, web-report you can use env like

NODE_OPTIONS="--max-old-space-size=200"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants