*
The moose likes Java in General and the fly likes Heap size .vs. total JVM memory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Heap size .vs. total JVM memory" Watch "Heap size .vs. total JVM memory" New topic
Author

Heap size .vs. total JVM memory

Russell Nell
Greenhorn

Joined: Jun 05, 2008
Posts: 1

By practice, I set min/max heap to the same number and pin memory to the VMware virtual host to guarantee that there is memory available for the JVM. What I need is a 'best guess' at the total memory that a typical JVM uses. Currently I assume 1.5 x the max heap (from observations based on 1G heap). This means that a 1G heap = 1.5G total JVM memory, 2GB heap = 3GB total, 4GB = 6GB total. I have a couple questions:

1) Is there a documented calculation that can be used to calculate total JVM memory footprint?
2) If not, does the 1.5 x make sense for the larger heaps, or would a non-linear formula fit better?


Thanks
-Russ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Heap size .vs. total JVM memory
 
Similar Threads
is heap virtual?
memory impact on statement
Interesting article about JVM performance
OutOfMemoryError when heap size was set to 1G
calculate heap info