When I tried the ‘Hello World’ within a more serious example, and running directly from the Netbeans IDE, I found I was still running into PermGen errors. The Maven pom runs
org.codehaus.plexus.classworlds.launcher.Launcher with around 86Mb PermGen space allocated.
This is easily fixed. Go to
Edit Global Custon Goal Definitions... and add the
verify action, using the
verify goal, and set the property
512m for the MaxPermSize turns out to be excessive; 256m would more than suffice.REST Test - Continuous Integration