Question

6
Replies
1542
Views
TanulT86 Member since 2015 4 posts
Incessant Technologies Pvt Ltd
Posted: 2 years ago
Last activity: 2 years 6 months ago
Closed

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-outofmemor…

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.

Data Integration Java and Activities
Moderation Team has archived post
Share this page LinkedIn