Title: How do I increase the maximum Java heap size when compiling?
Question:

When compiling a large program I got the following error:

The system is out of resources.
java.lang.OutOfMemoryError: Java heap space 


How do I increase the maximum heap size?

Answer:

Use the Java -Xmx option. -Xmx128m increases the maximum heap size to 128 MB. 

You can compile with "java -Xmx128m com.iscobol.compiler.Pcc LARGEPROG.CBL", or with "iscc -J-Xmx128m LARGEPROG.CBL"
Authored by: Veryant Support on Wed, Sep 2nd, 2009 at 7:00 PM
This question has been viewed 9920 times so far.
Online URL: http://support.veryant.com/support/phpkb/question.php?ID=94

Powered by PHPKB Knowledge Base Software