views:

329

answers:

1

I always get java.lang.OutOfMemoryError: Java heap space error when I try to run any J2ME program in Netbeans (with the big green play icon). How can it be fixed? (I can run J2ME programs after I build them in netbeans and double-click on the generated JAD file.)

+1  A: 

Try increaing the allowed heap space

Check Tuning JVM switches for performance

There is a good thread for tuning eclipse: What are the best JVM settings for Eclipse 3.4?

Some of that may be useful to you

jitter