-
Notifications
You must be signed in to change notification settings - Fork 21
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
[memory_calculator] add a flag to ensure that -Xms=<-Xmx value>
is set
#99
Comments
That will be the default behavior. If you override |
We don't specify Glad to hear that will be the default behavior. |
Maybe we can apply the same to |
Sorry, I misspoke there. It does not set the
Having said that, right now if you want to set the min & max values to be the same you would need to manually set the min values in I switched this over to enhancement. I don't think we'd change the default unless there is sufficient evidence provided that this would be a benefit to all users. I know setting min to max is an old trick to reduce GC on startup, but I'm not sure how relevant this is with modern hardware, JVMs, and GC implementations. I'd want to see some benchmarking and GC logs to prove it's a tangible benefit before changing defaults. That said, I'm not opposed to an option that would enable setting min to max. Like A PR would need to at least: |
@dmikusa The default values don't work out of the box on Azure App Services (S1 plan with 1.75Gb). |
-Xms=<-Xmx value>
is set
@yaba Please open a new issue and provide more details about the problem you're seeing. The full output of building your application would be helpful, as well as full output from starting the application up. |
No description provided.
The text was updated successfully, but these errors were encountered: