Clover Knowledge Base : OutOfMemoryError Java Heap Space when using the Clover Command Line Tools

Symptoms

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
...
...

Cause

Insufficient memory allocation

Resolution

When running the command, allocate more maximum memory to the clover. Example:

java -Xmx512m com.cenqua.clover.CloverInstr ..