This content has been marked as final.
Show 4 replies
-
1. Re: Max Memory in JMX cosole
dimitris Jan 24, 2008 5:02 AM (in response to kathir_bright)This is really a matter of the JVM, not JBoss.
-
2. Re: Max Memory in JMX cosole
kathir_bright Jan 24, 2008 5:04 AM (in response to kathir_bright)do u know what is the reason for this .
-
3. Re: Max Memory in JMX cosole
peterj Jan 24, 2008 10:50 AM (in response to kathir_bright)For the settings you have, the JVM will initially ask the OS for 1GB of memory. As the JVM runs, it *might* after certain garbage collections ask the OS for more memory. If you ask the JVM how big the heap is, it will tell you anything from 1GB to 4GB, depending on how much memory it has allocated at that time.
Apparently, it is telling you 3GB because that is all that it has asked for. If you expect the JVM to use 4GB, force it to ask for that much:
-Xms4096m -Xmx4096m -
4. Re: Max Memory in JMX cosole
kathir_bright Jan 24, 2008 11:29 PM (in response to kathir_bright)10x (thanks) peter , will try the same.