facebook

MyEclipse Crashing with outOfMemory error

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #299685 Reply

    harry
    Member

    Eventhoug i start MyEclipse with the following settings, it still crashes with outOfmemory error

    -startup
    ../Common\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
    –launcher.library
    ../Common\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731
    -clean
    -configuration
    C:\Program Files\Genuitec\MyEclipse 7.1\configuration
    -vm
    C:\Program Files\Genuitec\Common\binary\com.sun.java.jre.win32.x86_1.5.0.011\bin\client\jvm.dll
    -vmargs
    -Xmx1024M
    -XX:MaxPermSize=192M

    Mostly this occurs when i try to open web.xml or while coding in a jsp file.

    please reply

    thanks,

    #299689 Reply

    Scott Anderson
    Participant

    harcharan,

    Can you change those settings to -XX:MaxPermSize=256M please? That should correct the issue. Also, you might want to display the heap status at the bottom right of the workbench window by using MyEclipse > Utilities > Show Heap Status to ensure that you’re really able to get up to 1GB for global memory. Sometimes when you specify more than a JRE can get, it default to a really small maximum (silently, of course) and you run out very quickly. So, reducing the -Xmx setting if this is occurring will actually result in getting more memory allocated.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: MyEclipse Crashing with outOfMemory error

You must be logged in to post in the forum log in