Java OutOfMemory error

Hi team. Patrick here. Trying to update a table via Suitcase 2.1.9 and am getting an error. On trying via the command line, I get the error below. Any help?

getRows: agg uri is https://aimix.ea.aku.edu/odktables/default/tables/aimixForms/ref/uuid:853698f2-0fe8-4447-a8a9-134e6d42335d/rows?fetchLimit=1000
Error: Error occurred
java.lang.OutOfMemoryError: Java heap space
*** at org.apache.wink.json4j.internal.Tokenizer.readString(Tokenizer.java:250)***

Seems like you are running out of memory for the Java process.

Try running suitecase via the commandline with parameters that increase max memory to be used.

java “-XX:MaxHeapSize=3g” “-Dfile.encoding=UTF8” -jar “suitecase\ODK-X_Suitcase_v2.1.9.jar”

Note: this assumes Windows PowerShell; syntax might differ a bit for other setups.

2 Likes

Thanks Ahmed.
Still persists.
Error occurred during initialization of VM
Could not reserve enough space for 3145728KB object heap

@Ahmed I have tried it on a different PC and it worked.
Thank you.

2 Likes