/
S2PX produces java.lang.OutOfMemoryError

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.

Related content

MettleCI CLI throws error 'java.lang.OutOfMemoryError: Java heap space'
MettleCI CLI throws error 'java.lang.OutOfMemoryError: Java heap space'
More like this
MettleCI Unit Test execution throws 'java.lang.OutOfMemoryError: Java heap space' exception
MettleCI Unit Test execution throws 'java.lang.OutOfMemoryError: Java heap space' exception
More like this
MettleCI CLI produces error 'Incorrectly typed data found for annotation element'
MettleCI CLI produces error 'Incorrectly typed data found for annotation element'
More like this
S2PX Error Reference
S2PX Error Reference
More like this
Workbench memory errors on AIX
Workbench memory errors on AIX
More like this
S2PX Prerequisites
More like this

© 2015-2024 Data Migrators Pty Ltd.