-
Notifications
You must be signed in to change notification settings - Fork 88
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
Set also MaxMetaspace on Java 8 #12
Comments
@astefanutti wdyt about limiting the MaxMetaspace, too ? |
Yes, that makes sense. Let me try working something out. As we go from sizing from one region (the heap), to multiple regions (metaspace, and JIT code maybe), it becomes tricker to heuristically size them generally. At least each one can be bound to max memory minus heap size. |
Don't forget direct memory used by NIO buffers: |
Thanks ! wonder how this could be combined with the I think we can't give a good default value and as this limit is unbounded by default anyway, I think also that its fair to require that the users have to specify this limit on their own when they require it. |
If running under Java 8, the Metaspace should be limited, too in --> https://github.com/fabric8io-images/run-java-sh/blob/master/fish-pepper/run-java-sh/fp-files/java-default-options#L46
The text was updated successfully, but these errors were encountered: