How to get this command into TP?

Using the Java SDK with TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Yves1
Posts: 1
Joined: Wed Jan 16, 2008 5:19 am

How to get this command into TP?

Post 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.
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Post 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
Post Reply