This documentation relates to an earlier version of Clover.
View

Unknown macro: {spacejump}

or visit the current documentation home.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

This page contains instructions relating to this error:

java.lang.OutOfMemoryError: PermGen space

If you see this error when running Clover, you may need to increase the PermGen settings on your server JVM.

This error may sometimes come about when implementing Clover on large projects, due to Clover's additional requirements.

The required memory can be increased by setting the -XX:MaxPermSize setting on the JVM.

For example, if you are using the Maven Cargo plugin; add the following in the <systemProperties/> element of the Maven Cargo plugin:

<cargo.jvmargs>-XX:MaxPermSize=256M -Xmx512m</cargo.jvmargs>
  • No labels