title: After multiple weblogic deployments "java.lang.OutOfMemoryError: Metaspace"
body: <pre><code>&gt; java.lang.OutOfMemoryError: Metaspace     at
  
  &gt; java.lang.ClassLoader.defineClass1(Native Method)     at
  &gt; java.lang.ClassLoader.defineClass(ClassLoader.java:760)   at
  &gt; java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
  &gt;   at
  &gt; weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:412)
  </code></pre>
  
  <p>Exception after 5-6 deployments to weblogicServer cluster with the help of Jenkins, build tool used is Ant. Restarting the ManagedServer and Adminconsole temporarily fixes the issue.</p>
  
  <p>Possible duplicate : <a href="https://stackoverflow.com/questions/36051813/java8-java-lang-outofmemoryerror-metaspace">java8 &quot;java.lang.OutOfMemoryError: Metaspace&quot;</a></p>
  
  <p>What could be the issue ?</p>