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

Dynamically set maxSheddingThreshold #3

Open
danielfireman opened this issue Dec 8, 2017 · 1 comment
Open

Dynamically set maxSheddingThreshold #3

danielfireman opened this issue Dec 8, 2017 · 1 comment

Comments

@danielfireman
Copy link
Contributor

We currently set it to 512MB constant. I am not sure if this is the best way of doing it.

This issue is to remind us to think about this decision and either explain why it is good or improve it.

@danielfireman
Copy link
Contributor Author

danielfireman commented Dec 8, 2017

Borrowing ideas from other runtimes...

From Oracle's GC Ergonomics:

Smaller of 1/4th of the physical memory or 1GB.

And we could make this value configurable (via envvar, for instance).

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

1 participant