Did some googling but could not find out more about the issue. Now, I went into command prompt to try and see if I could start Netbeans from there. Here's the result:
C:\Program Files\NetBeans 6.1 RC2\bin>netbeans.exe
C:\Program Files\NetBeans 6.1 RC2\bin>nb.exe
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
Rerunnig without "-client" option...
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
Finally! So it has something to do with not enough memory being allocated for the VM. That's weird considering I have 2 gigs of RAM and 6.0.1 worked just fine with the same programs running in the background.
Anyway, I went into C:\Program Files\NetBeans 6.1 RC2\etc folder and opened up netbeans.conf. Then I changed "-J-XX:MaxPermSize=200m" to "-J-XX:MaxPermSize=128m" and it worked.
No comments:
Post a Comment