Page 1 of 1

How to get this command into TP?

Posted: Wed Jan 16, 2008 5:48 am
by Yves1
Hi,

I'm having a memory leak with "Exception in thread "main" java.lang.OutOfMemoryError: Java heap space". To solve it, I need to increase the heap size using the runtime parameters:

java -Xms<initial heap size> -Xmx<maximum heap size>
Defaults are:
java -Xms32m -Xmx128m

How can I set this in TP? Or should it be set somewhere else?

I appreciate your advice. Thanks.

Posted: Wed Jan 16, 2008 6:51 am
by MudGuard
Increasing heap size does NOT SOLVE the memory leak - it just makes it happen later.


Configure - Preferences - Tools - Run Java application

Add the parameters before the $BaseName