Operating System - HP-UX
1834156 Members
2542 Online
110064 Solutions
New Discussion

Re: Initial Heap Allocation for JVM

 
Benjamin McCartney
Occasional Contributor

Initial Heap Allocation for JVM

Dear experts,

I have a set of Java applications running on HP-UX 11 for which I am trying to determine memory settings. I have specified the initial memory size to 256MB using -Xms256m and the maximum size to 512MB using -Xms512m.

I expected to see the resident memory size (RSS) indicate 256MB as soon as the application started however it sits at 118MB only. I have had problems with the application running out of memory so I am concerned that it is not being allocated the appropriate memory upon startup and that it cannot grow.

Could someone please confirm what I should be seeing in terms of behaviour of the memory?

Truly appreciated.
Benjamin
1 REPLY 1
harry d brown jr
Honored Contributor

Re: Initial Heap Allocation for JVM