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

HPMAX returns the committed memory of the application and not the actual memory allocated #55

Open
GoogleCodeExporter opened this issue Mar 17, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

HPMAX returns the committed memory of the application and not the actual memory 
allocated. For example if my application is given 1024mb space then the HPMAX 
should return this value, but the HPMAX shows the committed memory for the 
application which is often a multiple of 455. Can someone please respond to 
this. Thanks you

Original issue reported on code.google.com by vmur...@uic.edu on 12 Aug 2014 at 9:07

@GoogleCodeExporter
Copy link
Author

>HPMAX returns the committed memory of the application and not the actual 
memory allocated
I cannot reproduce this. If you use jconsole (memory-tab / heap / max-value), 
you'll see that it matches jvmtop.

I did some tests - in my environments HPMAX was always 10% below the -Xmx 
argument of the corresponding jvms.
If you double -Xmx value, you'll see that jvmtop will also double HPMAX.

You'll often see multiples of 455M values because often the maximum heap of 
jvms is defined as a multiple of 512M (implicitly or explicitly).
(I cannot explain the difference between 455M and 512M right now, however this 
is jvm implementation-specific).

Original comment by patric.r...@gmail.com on 18 Aug 2014 at 4:22

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

No branches or pull requests

1 participant