Millorar rendiment d’Eclipse a OSX

http://www.kineticklink.com/speeding-up-eclipse-on-os-x-leopard/

eclipse.ini

) which contols the minimum and maximum size of the heap.  If you’re using a OS X based Eclipse you’ll find this file by showing the content of Eclipse.app by right clicking

(Ctrl+click)

on the file and selecting show package contents.  The file is located in

Contents/MacOs/

.

Look for the following lines:

-Xms40m
-Xmx256m
-XX:MaxPermSize=256m
Xms

and

Xmx

set the minimum and maximum heap size.

The XX:MaxPermSize

is a bit confusing, but one thing it can affect is Garbage collection.  The part of the heap that

MaxPermSize

defines is where classes and methods are kept and if it fills, it can trigger a full garbage collection.   I found some discussion online about what this setting means for memory usage and how different versions of Java apply these settings diffently. Base on my cursory exploration, you can be safe by using this formula to determine the maximum memory Eclipse will use:

Xmx + XX:MaxPermSize

This all in mind, I set mine at:

-Xms256m
-Xmx512m
-XX:MaxPermSize=256m
This entry was posted in Internet i noves tecnologies and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Security Code: