title: PSPermGen getting full
body: <p>I'm having a problem with BO application which runs out of memory and i see the below error in the BO logs:</p>
  
  <pre><code>PSPermGen       reserved 196608K, committed 24640K, used 24587K [0x000000007fff0000, 0x0000000081800000, 0x000000008bff0000)
    object space 24640K, 99% used
  </code></pre>
  
  <p>From the command </p>
  
  <pre><code>java.exe -XX:+PrintFlagsFinal
  </code></pre>
  
  <p>i see </p>
  
  <pre><code>    uintx MaxPermSize                               = 67108864 
      uintx MaxHeapSize                              := 268435456       {product} 
  </code></pre>
  
  <p>meanwhile from tocat configuration file setenv.bat i see:</p>
  
  <pre><code>set JAVA_OPTS=%JAVA_OPTS% -Xmx2048m -XX:MaxPermSize=384m
  </code></pre>
  
  <p>Could someone help me finding a solution. When app runs out of space some services stops.</p>
  
  <p>thank you </p>