Java Memory Management on HP-UX
page 232/8/2005
(c) Copyright Hewlett Packard Company, 2005
Virtual Address Space Usage: Example 1
A) maxtsiz – 1GB (Upper limit for TEXT region)
B) maxdsiz – 1GB (Upper limit for DATA region)
Address space is reserved for TEXT and DATA in incremental
amounts as needed.
C) maxssiz – 400MB (Upper limit for STACK region, reserved upfront)
D) Java heap - -Xms1GB –Xmx1GB (Perm gen- 64MB default. Not
included in mx value.)
• New Size reserved: 357892096 initial: 357892096
• Old Size reserved: 715849728 initial: 715849728
• Perm Size reserved: 67108864 initial: 1048576
E) JVM Code Cache – 32MB
F) 300 threads in the application (300 * 512KB = 150MB)
Space left for the DATA (C-heap) region
Approximate (only significant, greater than 5MB, regions
shown in calculation)
2 GB – C – D – E – F - space consumed by TEXT