title: facing perm gen space error in weblogic
body: <p>I am new to weblogic.
  After starting the server when i see administrator console and get log-in it throws below exception.</p>
  
  <pre><code>Root cause of ServletException.
  java.lang.OutOfMemoryError: PermGen space
  at java.lang.ClassLoader.defineClass1(Native Method)
  at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
  at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
  at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:335)
  at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:288)
  Truncated. see log file for complete stacktrace
  </code></pre>
  
  <p>I did lot of google and found some solution to initialize <code>JAVA_OPTIONS</code> like <code>-XX:xmx</code> and etc.
  I tried to set this in <code>startdomainenv.cmd</code> file but with no luck.</p>
  
  <p>Please help.
  Any pointers will be highly appreciated.</p>
  
  <p>Thanks.</p>