facebook

Failed to add -vmargs -Xms128m -Xmx256m

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

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

    albertdbwong
    Member

    Dear all

    I would like to allocate more memory by add the following argument:
    C:\eclipse\eclipse.exe -vmargs -Xms128m –Xmx256m

    However it fails…
    Java Virtual Machine Launcher
    Could not find the main class. Program will exit.

    Eclipse
    JVM terminated. Exit code=1
    C:\java\j2sdk1.4.2_06\bin\javaw.exe -Xms128m -Xmx256m
    -cp C:\eclipse\startup.jar org.eclipse.core.launcher.Main
    -os win32
    -ws win32
    -arch x86
    -showsplash C:\eclipse\eclipse.exe -showsplash 600
    -exitdata C:\eclipse\eclipse.exe -exitdata c14_64
    -vm C:\java\j2sdk1.4.2_06\bin\javaw.exe
    -vmargs -Xms128m -Xmx256m
    -cp C:\Eclipse\eclipse\startup.jar org.eclipse.core.launcer.Main

    Would could have gone wrong?

    Thanks a lot in advance.
    Best regards
    Albert Wong

    #222577

    Riyad Kalla
    Member

    Your install might be messed up, did you check that your startup.jar file is in the directory where eclipse.exe is being launched from? Your command line args look right.

    #222580

    albertdbwong
    Member

    Yes, it is.

    Without those args, I work well the ME but just slow…

    #222583

    Riyad Kalla
    Member

    Try copying and pasting this:
    eclipse.exe -vmargs -Xms128m -Xmx256m

    if that doesn’t work, try reunzipping a new download of Eclipse 3.0.1 and running it with the given command.

    #222648

    albertdbwong
    Member

    Thanks a lot. It is now working. Finally I found out what the problem is.. It is with the -. My shortcut was like this:
    C:\eclipse\eclipse.exe –Xms128M –Xmx256M

    The – is different from -, which came out of my copy and paste.

    Sorry about the silly overlook and thank you for the help.

    #222657

    Riyad Kalla
    Member

    no problem, but your shortcut is almost missing the ‘-vmargs’ part as well… I’m guessing that might have just been a mistype?

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Failed to add -vmargs -Xms128m -Xmx256m

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