Howard, Checking a little on some heap rules of thumb, they seem to suggest 25% of memory be allocated to heap. But the use of heap is really determined by the application program, and is not really tunable without changing the code. (Another reason why java isn't my favorite language). It looks like you are already allocated that way. If it isn't needed for the heap, it can be used by java for other internal needs.
If you are also getting a out of memory message from java, you can just increase the allocation (3G?). Evidently java can run out of space if it just runs out of heap space during garbage collection even if there is enough room for the application to run. If possible, you might increase the frequency of garbage collection, but it is normally not an issue. It is possible, because each thread gets its own stack on the heap, if you can keep down the number of threads, the heap use may be reduced. But depending on the number of instances of data structures, each one gets allocated on the heap. If there is a memory leak (allocating but not giving back the data structures when done) the heap keeps growing. I am not enough of a java geek to know the tools for interactive debugging java, so best of luck. ... Let us know how it goes. ... Jack On Thu, Sep 19, 2013 at 3:35 PM, Howard White <[email protected]> wrote: > Paging java gurus > > Have one new system (CentOS 6.4 32bit) upon which we are loading a java > based report tool. Built four similar systems in the past couple months. > One of the four chokes on java -Xmx2048M while all the other easily handle > java -Xmx2560M. The system that chokes has 8GB of memory allocated (VM) but > has the smallest disk allocation. > > Where would I find what is pinching this systems heap space??? > > Howard (je ne parle pas java) White > > -- > -- > You received this message because you are subscribed to the Google Groups > "NLUG" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nlug-talk?hl=en > > --- You received this message because you are subscribed to the Google > Groups "NLUG" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. -- ><> ... Jack On today's episode of 'This Ol Geek'... "Texas is the finest portion of the globe that has ever blessed my vision." - Sam Houston "Whatever you do, work at it with all your heart"... Colossians 3:23 "If you are not part of the solution, you are part of the precipitate" - Henry J. Tillman "Anyone who has never made a mistake, has never tried anything new." - Albert Einstein "You don't manage people; you manage things. You lead people." - Admiral Grace Hopper, USN "Life is complex: it has a real part and an imaginary part." - Martin Terma -- -- You received this message because you are subscribed to the Google Groups "NLUG" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nlug-talk?hl=en --- You received this message because you are subscribed to the Google Groups "NLUG" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
