You need to track what the garbage collector is doing. See my paper at ceCMG for one way you could do this. (And no, using JConsole does not provide the necessary information - you need to know how much heap space is in use after each major collection.)
Oh, the other option is to read the performance chapter of JBoss In Action where I go into this in detail. Most of the chapter applies to Java apps in general, not just to JBossAS.
priya pratheepp
Ranch Hand
Joined: Apr 02, 2008
Posts: 59
posted
0
Hi
answer to my post helped me a lot..my problem solved.many string buffer caused main problem and some more too..
thanks for tutorials
leonardo ginting
Ranch Hand
Joined: Jul 25, 2011
Posts: 48
posted
0
priya pratheepp wrote:Hi
answer to my post helped me a lot..my problem solved.many string buffer caused main problem and some more too..
thanks for tutorials
hi priya i recently got this error and i dont know how to solve this case and ive been increasing my memory on my run.conf
but im still getting this error?
how could i fix this? i have many setter and getter method does this method affect consuming the memory or causing java heap space?