0

i am using JConsole monitoring my application and i found the total unload class are increasing from time to time. and the heap size and used heap are increasing too. after sometime, my application crashed.

do anyone have a idea why is this happen? does this implies there is something like a memory leak ?

thank you

snow8261
  • 939
  • 2
  • 14
  • 34

1 Answers1

0

I don't think it is memory leak. Are you seeing any increase in heap usage in jconsole? class unloading may happen in case where classloader is GCed (or) those classes designated as soft references. Here are couple of interesting discussion on why class unloading happens link1 and link2.

Community
  • 1
  • 1
kosa
  • 65,990
  • 13
  • 130
  • 167
  • i can see the heap size and used heap size are increasing by time.but yes it does not imply there is a memory link.thanks. – snow8261 Feb 16 '12 at 02:04