Question

6
Replies
1629
Views
Close popover
Tanul Thanvi (TanulT86)
Aaseya IT Services Pvt Ltd

Aaseya IT Services Pvt Ltd
IN
TanulT86 Member since 2015 4 posts
Aaseya IT Services Pvt Ltd
Posted: October 5, 2017
Last activity: October 16, 2018
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-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.

Data Integration Java and Activities
Moderation Team has archived post