java.lang.OutOfMemoryError:Metaspace error in logs for Pega7.3 using Java 8
Hi Guyz,
We have Pega 7.3 using Java 8+tomcat and one of the JVM arguments (due to Java 8) is MaxMetaspaceSize instead of PermGen. The value of the arg is XX:MaxMetaspaceSize=1024m . The other day JVM crashed with error in logs java.lang.OutOfMemoryError:Metaspace. It produced a crash dump file when trying to stop the tomcat & it required cleaning application server cache to get the application up & running.
I see below args as a recommendation on one of the stackoverflow articles
-Dcom.sun.xml.bind.v2.bytecode.ClassTailor.noOptimize=true
Source: https://stackoverflow.com/questions/36051813/java8-java-lang-outofmemoryerror-metaspace
Has any one had this issue? Are there any alternate fixes available? We had errors in logs related to listeners(OOTB CPM listeners failing email account authentication) but they should not be contributing to the JVM crash?
No db related log errors. It is a multi-tenant env. Any inputs will be highly appreciated!
Thanks in advance!
Hi Guyz,
We have Pega 7.3 using Java 8+tomcat and one of the JVM arguments (due to Java 8) is MaxMetaspaceSize instead of PermGen. The value of the arg is XX:MaxMetaspaceSize=1024m . The other day JVM crashed with error in logs java.lang.OutOfMemoryError:Metaspace. It produced a crash dump file when trying to stop the tomcat & it required cleaning application server cache to get the application up & running.
I see below args as a recommendation on one of the stackoverflow articles
-Dcom.sun.xml.bind.v2.bytecode.ClassTailor.noOptimize=true
Source: https://stackoverflow.com/questions/36051813/java8-java-lang-outofmemoryerror-metaspace
Has any one had this issue? Are there any alternate fixes available? We had errors in logs related to listeners(OOTB CPM listeners failing email account authentication) but they should not be contributing to the JVM crash?
No db related log errors. It is a multi-tenant env. Any inputs will be highly appreciated!
Thanks in advance!
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.