JVM's Memory Usage
Hi, every one
I'm running jboss on Windows2003, and I'm trying to monitor the memory usage
of JVM. But, I encouter a problem:
when I use JMX, I got the following information:
- operating system -
arch : x86
avail processors : 4
os name : Windows 2003
os version : 5.2
- threads -
thread num : 111
daemon threads num : 92
peak threads num : 132
- memory -
objectPendingFinalizationCount : 0
heapMemoryUsage : init = 134217728(131072K) used = 168568176(164617K) committed = 532742144(520256K) max = 532742144(520256K)
nonHeapMemoryUsage : init = 8585216(8384K) used = 61972600(60520K) committed = 62455808(60992K) max = 100663296(98304K)
- class loader -
loadedClassCount : 8154
totalLoadedClassCount : 24471
unloadedClassCount : 16317
- memory pool -
[Tenured Gen: Used=151165K Committed=483968K]
[Perm Gen: Used=43802K Committed=44032K]
[Survivor Space: Used=0K Committed=4032K]
[Eden Space: Used=13979K Committed=32256K]
[Code Cache: Used=16723K Committed=16960K]
- garbage collector -
[Copy: Count=16410 GCTime=459.0070sec]
[MarkSweepCompact: Count=9773 GCTime=6689.2770sec]
But, in windows task manager, I got
java.exe 2136830,820K
and this increases slowly.
I just wonder why the os level memory usage is greater so much than
the heap memory and the non-heap memory, and the os level memory usage
are increasing slowly: three days before it is 620M, yesterday it is
720M and now it is 830M.
Sorry for my poor English
thanks

