title: Will GC run if permgen fills up?
body: <p>I have an application which on startup runs two or three full GC. There is lot of heap space and there is no need to run any GC(minor or full). However on gc log, i can see the permgen getting filled up and immediately after that a full GC is run.After this, there is an increase in permgen space. Eventually , once all classes are loaded, there is no full GC any more.</p>
  
  <p>My question is if permgen gets filled up, does the VM run GC to claim some memory from heap and add extra memory to permgen? or does it throw OutOfMemory-permgen?</p>