Adventurous Computing

Speeding up Eclipse/Aptana

with 2 comments

As some of you know Aptana is Eclipse. And Eclipse is a Java-based IDE which means it’s not particularly a speedy one. However if you have a decent amount of ram, like 4gb, it’s fairly easy to speed the Eclipse up.

Go ahead and find eclipse.ini or aptana.ini or other file which contents look similar.

These settings are from my Linux box, I know that MacOS might be kinda scared by so high values, try lowering the Xmx and/or others in such a case.
[gist id=1129400]
These settings are for the 4gb ram box, try to find the ones which suit you best.
MaxPermSize stands for the maximum amount of the memory to be used by the Java internals, Xms gives the amount of heap allocated on the VM start and Xmx is the heap size limit. Start with upping Xms value as it’s often too small which causes the Java VM to make lots of heap resizes on the app start.

Written by cyryl

May 23rd, 2011 at 12:29 pm

Posted in open source

Tagged with , , , , , ,

  • http://www.michaldudek.pl Michal Dudek

    For Mac it’s
    /Applications/Aptana Studio 3/AptanaStudio3.app/Contents/MacOS/AptanaStudio3.ini
    (change Aptana Studio 3 to Eclipse if necessary).

    My settings on 4gb macbook white from late 2007 are:
    - 512m
    - Xms128m
    - Xmx1024m

    Works like a charm, and it used to get slow after 8h work… ;)

  • http://www.wishpond.com Earl Jenkins

    Thank you, Michal. That was exactly the information that I needed (path and settings).

    Also, for anyone else who googles this up, on MacOS 10.6.7 with 4GB (MacBook Pro), when I tried Xmx2048m as suggested in the original post, I got this error:

    Failed to create the Java Virtual Machine.

    Looks like 2048 is too big on Mac. 1024 works just fine.

    Earl

WordPress Appliance - Powered by TurnKey Linux