-
2. Re: Does jboss run garbage collection when it is idle?
txie2000 Jan 30, 2006 8:05 PM (in response to txie2000)Hi Peter,
Thanks very much for your suggestion. By setting -Dsun.rmi.dgc.client.gcInterval and -Dsun.rmi.server.gcInterval, I no longer see the Full GC messages.
However, I also found in org.jboss.remoting.ServerInvokerCallbackHandler, it starts a thread which calls System.gc() when memory usage exceeds 20% (default).
Does this also responsible to the behavior I see? I think I may need to change the memCeiling setting (don't know where yet)
Thanks again! -
3. Re: Does jboss run garbage collection when it is idle?
txie2000 Jan 30, 2006 8:06 PM (in response to txie2000)Full GC messages like that...
2006-01-30 17:01:45,937 INFO (ServerImpl.java:475) - JBoss (MX MicroKernel) [4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231054)] Started in 1
m:45s:692ms
[Full GC 37147K->34929K(130112K), 0.6513674 secs]
[Full GC 36180K->30366K(130112K), 0.8051032 secs]
[Full GC 31622K->30370K(130112K), 0.5809224 secs]
[Full GC 31616K->30371K(130112K), 0.6222903 secs] -
4. Re: Does jboss run garbage collection when it is idle?
txie2000 Jan 30, 2006 8:21 PM (in response to txie2000)I found the memCeiling settings in
http://wiki.jboss.org/wiki/Wiki.jsp?page=Remoting_Callback_Configuration
However, I doubt it applies to my situation, since I don't have configurations anything similar to that.