• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

verbose:gc

 
Younes Essouabni
Ranch Hand
Posts: 479
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody,
I'm using the verbose:gc option and I get some thing like this

could you please explain me how to understand those values?(1814K-->1398K(1984K))
At line Full GC 1450K->212K(2112K), 0.0102848 secs does it mean that the GC is called to work??
Thx in advance!
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, it looks like your particular JVM is doing partial cleanups in between full cleanups.
However Sun did not actually write all the JVMs and the JVM specs leave quite a bit of room as to how the gc function can be done. Including what messages are spurted out.
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The line
[GC 1814K->1398K(1984K), 0.0004230 secs]
means GC ran for .0004230 sec and reduced the amound of heap memory used from 1814 KB to 1398 KB. Currently 1984 KB are allocated for the heap, though that's not necessarily the maximum possible. If memory use gets too high and GC can't reduce it enough, the JVM will request more from the OS. As long as the OS has memory available, heap size may increase up to the limit set by the -Xmx option. At least, that's how it works for SDK 1.4 on Windows - may be different for other JVM's.
[ June 27, 2002: Message edited by: Jim Yingst ]
 
Younes Essouabni
Ranch Hand
Posts: 479
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thx Cindy and Jim for your answers, it helped me a lot!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic