(v4.1 2) S2PX produces java.lang.OutOfMemoryError

Symptom

... Writing report... Excception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded at org.apache.xmlbeans.impl.store.Saver$TextSaver.resize(Saver.java:1701) ... etc.

Cause

The S2PX Java process has run out of memory.

Solution

Edit your mettelci command script to double the Java heap memory allocation pool.

  • On Windows edit the file mettleci.cmd

  • On unix edit the file mettleci

Towards the bottom of the script change…

JAVA_OPTIONS="-Xms32m -Xmx512m"

to

set JAVA_OPTIONS="-Xms32m -Xmx1024m"

Notice there is no space between -Xmx and 1024m.

Your change will be effective immediately.

© 2015-2024 Data Migrators Pty Ltd.