title: How can I prevent PermGen space errors in Netbeans?
body: <p>Every 15-30 minutes Netbeans shows a "<code>java.lang.OutOfMemoryError: PermGen space</code>". From what I learned from Google this seems to be related to classloader leaks or memory leaks in general.</p>
  
  <p>Unfortunately all suggestions I found were related to application servers and I have no idea to adapted them to Netbeans. (I'm not even sure it's the same problem)</p>
  
  <p>Is it a problem in my application? How can I find the source?</p>