facebook

Increasing memory alocation for Eclipse [Closed]

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

    Brad
    Member

    I am running on XP and would like to know where to add the flags (and I guess which flags) to increase the VM for eclipse when it starts up from 64 to 256.

    Thanks.

    I first tried to create a JAVA_OPTS environment variable but that wasn’t picked up.

    Any help would be great.

    –Brad

    #218547 Reply

    Riyad Kalla
    Member

    Brad,
    You need to edit the shortcut you use to start Eclipse and add:

    -vmargs -Xmx256

    to the command.

    #218563 Reply

    Brad
    Member

    Sorry for my ignorance, but I’m on a windows machine and simply click on the .exe. What I tried to do was run the .exe from the command window as:

    eclipse.exe -vmargs -Xmx256 but received an Eclipse error:

    JVM terminated. Exit code=13
    C:\WINDOWS\system32\javaw.exe
    -Xmx25
    -cp C:\Eclipse\eclipse\startup.jar org.eclipse.core.launcher.Main
    -os win32
    -ws win32
    -arch x86
    -showsplash C:\Eclipse …. 600
    -exitdata C:\Exlipse …. -exitdata b3c+7c8
    -vm C:\WINDOWS\system32\javaw.exe
    -vmargs
    -Xmx256
    -cp C:\Eclipse\eclipse\startup.jar org.eclipse.core.launcer.Main

    I hope that this isn’t too cryptic but I’m not sure where to specify the -vmargs property.

    Thanks.

    #218564 Reply

    Riyad Kalla
    Member

    I’m sorry about that, its actually “256m” not just “256”, so how you run it would be:

    
    eclipse.exe -vmargs -Xmx256m
    

    For example, I have a shortcut on my desktop and its “Command” used to launch Eclipse is this:

    
    C:\Java\eclipse-3.0.1\eclipse.exe -vmargs -Xms128m -Xmx256m
    
    #218565 Reply

    Brad
    Member

    Thanks. All working perfectly.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Increasing memory alocation for Eclipse [Closed]

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