Question: Maple22: Java Heap Size error: java.lang.OutOfMemoryError: Java heap space

How do I increase the Java Heapsize.

About once a year rarely, I get that maple writes too much output to the worksheet file and then cannot load it again.

In the past I had to hand edit the maple file in emacs to remove output to at least get my source code back.

This is really not practical.

Webwisdom states that the heapsize can be increased by

export JVM_ARGS="-Xms1024m -Xmx1024m"

Dont know why Maple do not have to option to just ignore the results during startup.

Maple22 runs here on a Linux 32-Core server with 256GB memmory.

Question 1) Anyone know how to increase heap size.

Exporting as above dd not work

Question 2) Anyone know how to load a worksheet with all output ignored.

It is the volumous output Maple saves in the file, which it cannot read again which causes the problem.

Files are not corrupt.

Else I have to hand edit the maple output out of the files again like I did before.

Thanks

Please Wait...