Skip to content
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

nacos server can not start on personal/test computer with small/low memory #223

Closed
pguo65535 opened this issue Nov 6, 2018 · 2 comments
Closed
Assignees

Comments

@pguo65535
Copy link
Collaborator

pguo65535 commented Nov 6, 2018

Description

the default start JVM heap size 2g is too large for personal testing purpose.

JAVA_OPT="${JAVA_OPT} -server -Xms2g -Xmx2g -Xmn1g -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=320m"

community_voice_2

@pguo65535
Copy link
Collaborator Author

I think we can optimize the startup script, when user are running Nacos in standalone mode(means in personal study or testing environment) we can adjust the GC policy to the JVM default policy and set a smaller heap size and

but for production mode(cluster mode), we can recommend a GC policy to get a low latency and GC time spend

@pguo65535
Copy link
Collaborator Author

Josh's issue #214 are also related to this point

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

2 participants