[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: top command show wrong memory for java
do-not-reply at jboss.com
Tue Oct 14 11:02:42 EDT 2008
6144MB for the heap
+256MB for the permgen
+256KB * number of threads for the stacks (the 256KB is a guess, I cannot offhand recall how big each thread stack is)
+xxxMB C/C++ data overhead (this is the JVM's data used to manage/run the Java app)
+xxxMB for the code (the JVM and the shared objects it uses)
Moral of the story - the heap is not everything, there is a lot of overhead above and beyond the heap.
By the way, do you really want a 6BG heap? I hope you are using the CMS collector or else you will wait a long time for each major garbage collection.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4182155#4182155
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4182155
More information about the jboss-user