Sometimes Maven will fail when running the test cases with this error.


This means that Maven has run out of available system memory.

To increase the memory available to Maven, the environment variable MAVEN_OPTS should be set to the value -Xmx1024m -XX:MaxPermSize=128m, or more depending on the amount of memory you have available on your machine.