Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Turbo JBuilder 2007 - I cannot change the JVM Size

843829Oct 10 2007 — edited Oct 12 2007
I cannot get the JVM size to change while using Eclipse based Turbo JBuilder 2007 to run and debug my program.

This is the last print out of the memory usage before it bombs out with the Exception in thread "Thread-2" java.lang.OutOfMemoryError: Java heap space

free memory: 409312
allocated memory: 66650112
max memory: 66650112
total free memory: 409312


Im running Windows XP 64-bit
4GB of Ram

I have tried thse things to change this.

1) I went into the JBuilder.ini file and changed the Xmx value

2) In JBuilder I went to Windows -> Preferences -> Java -> Installed JRE's and updated the Default VM Arguments

3) I created a shortcut to JBuilder and in the Target I placed - JBuilder.exe -vmargs -Xms1024M -Xmx1024M and used that to start JBuilder

4) I typed into a command line JBuilder.exe -Xms1024M -Xmx1024M

I've done some research on this site and other but cannot seem to figure out why this is not working for me. Everywhere it just says to use -Xmx and it should work.

Any Ideas?
Please Help
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 9 2007
Added on Oct 10 2007
1 comment
197 views