-
1. Re: Resident Memory
peterj Apr 17, 2012 3:33 PM (in response to samanth9)There is more to the memory footprint of a java application thatn the heap size. See this:
http://www.coderanch.com/t/111262/Linux-UNIX/read-memory-usage-process-running#560894
-
2. Re: Resident Memory
samanth9 Apr 17, 2012 4:11 PM (in response to peterj)Thanks Peter for a quick response.
I understand java process takes more than the java heap which we provided. But 9G is huge variance.
Couple of month back it was taking 5G(which is OK). But now it reached to 9G.
Can you please recommond any tool. So that i can see what exactly eating all the memory.
Thank You So Much
Sam
-
3. Re: Resident Memory
wdfink Apr 18, 2012 9:13 AM (in response to samanth9)Is the memory increasing during runtime?
How do you size the PermGen and how many threads are running? Maybe this will give a hint.
Also I've seen JVM or OS related bugs in such cases. You should check for OS patches and the latest JVM version.
-
4. Re: Resident Memory
samanth9 Apr 23, 2012 11:00 AM (in response to wdfink)Thanks Wolf.
Yes its increasing on runtime. Once i do a fresh restart, the 1st week it reaches to 3-4G then after couple of weeks its going to 9G.
PermGen is 512mb and nearly 350 live threads.
I will try with latest OS patches and get back to you guys.
Thanks Again.
-
5. Re: Resident Memory
wdfink Apr 24, 2012 1:42 AM (in response to samanth9)Also you should check whether to use a newer JVM version.