Question
Anthem
US
Last activity: 2 Apr 2018 11:32 EDT
java.lang.OutOfMemoryError: Metaspace | PRPC731 | TOMCAT8 |JAVA8.
Hi,
We are observing lots of "java.lang.OutOfMemoryError: Metaspace " errors in the production logs. XX:MaxMetaspaceSize value has been set to 1024m.
I am referring to the following PDN article (https://collaborate.pega.com/question/javalangoutofmemoryerrormetaspace-error-logs-pega73-using-java-8) which contains details about similar kind of issue.
Could someone please suggest if we have to add the following JVM arg "-Dcom.sun.xml.bind.v2.bytecode.ClassTailor.noOptimize=true" or to increase the MetaspaceSize value to circumvent the issue.