facebook

[Closed] Memory allocation to Eclipse/MyEclipse

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

    bradm
    Member

    I’ve noticed that with enough documents open (particularly css files it seems), MyEclipse slows quite a bit in terms of responsiveness. (I can wait several seconds switching between documents.) I have a boatload of memory on this machine (2 gigs): should I give more memory to Eclipse? If so, do I do this by adjusting the values in the eclipse.ini file? What I see there now is:

    -vmargs
    -Xms40m
    -Xmx128m

    If this is the right thing to do, what values would you suggest I replace these with?

    I am on xp sp2; eclipse 3.1.1; and the latest MyEclipse released on the 22nd of this month.

    #245796 Reply

    Scott Anderson
    Participant

    We recommend using:
    eclipse.exe -vmargs -Xms128m -Xmx512m -XX:PermSize=64M -XX:MaxPermSize=128M
    With 2GB of RAM, you might want to use:
    eclipse.exe -vmargs -Xms256m -Xmx767m -XX:PermSize=128M -XX:MaxPermSize=256M

    #245798 Reply

    bradm
    Member

    Thanks – do I put these arguments in the .ini file I mentioned?

    #245800 Reply

    Riyad Kalla
    Member

    bradm,
    Yes you can or put them on the command line. I believe since Eclipse 3.1 the preferred is to put them in the ini file, 1 argument per line.

    #246103 Reply

    bradm
    Member

    Thank you both: putting Scott’s arguments in the .ini file made all the difference. Cheers!

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: [Closed] Memory allocation to Eclipse/MyEclipse

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