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
Error: Error occurred
java.lang.OutOfMemoryError: Java heap space
*** at org.apache.wink.json4j.internal.Tokenizer.readString(***

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.


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.