title: jasper report server OutOfMemoryError: PermGen space error
body: <p>We are trying to setup Jasper report on Ubuntu server.</p>
  
  <p>java version is 1.7.0_79</p>
  
  <p>Tomcat version is -7.0.67</p>
  
  <p>When we start the tomcat server and try to access the home page for the jasper server,</p>
  
  <p>we get the below exception </p>
  
  <blockquote>
    <p>Handler processing failed; nested exception is
    java.lang.OutOfMemoryError: PermGen space</p>
  </blockquote>
  
  <p>I tried changing the JVM parameters, but still it didn't work.</p>
  
  <p>I tried changing the size of Permgen also</p>
  
  <p>here are the contents of <code>setenv.sh</code> file</p>
  
  <pre><code>EXPORT JAVA_OPTS=-Djava.awt.headless=true -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=3072m -Xss2m -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled
  </code></pre>