title: How to avoid java.lang.OutOfMemoryError: PermGen space in Netbeans
body: <p>I am developing on Web Application in Netbeans6.8 and Using Jboss server to Deploy my application.  I am able to run the project properly but after some time i get tgis error</p>
  
  <pre><code>java.lang.OutOfMemoryError: PermGen space :
  </code></pre>
  
  <p>after that i have to restart my JBoss server. Some time i need to restart my Netbeans IDE
  Can any one tell me the reason of this error and How to avoid this</p>
  
  <p>Thanks
  Rohan </p>