License Type | SaaS & On-Premise |
Agent Mode | Assess & Protect |
Main Product Category | Java Agent |
Sub Category | Runtime Exceptions |
Issue
You are running into PermGen errors that seem to reference Contrast code.
Cause
Java versions prior to Java 8 had a separate area for permanent memory use called PermGen. Some of the memory Contrast uses will be kept in this space, but not a lot. If the JVM is already close to its PermGen limit, Contrast may be putting it over.
Resolution
In case of PermGen errors, an additional 32MB of memory should be sufficient. To add more PermGen, use -XX:MaxPermSize=128m
(or more).
If you have enough memory and continue to experience memory errors, please use the Submit a request link below to open a Support ticket.