Make Eclipse use memory (RAM) more efficiently

Make Eclipse use memory (RAM) more efficiently

If you use the Eclipse software development environment to you will find this tip very useful.  (We use an Eclipse IDE to develop on Salesforce’s platform – Apex, Visualforce, JavaScript & jQuery).

By default, Eclipse takes up huge amounts of RAM.  Here is the fix:

In the eclipse.ini file (or forceide.ini file for Salesforce’s IDE version of Eclipse), edit the -vmargs section to have the following:


My defaults were:


The Xms is the minimum memory for the application and the Xmx is the max.

Before the change, Eclipse was happy to gobble up 1Gb of RAM.

This change has made a huge impact on the overall responsiveness of my computer while using Eclipse, so I thought I would share.  Hope you find this tip useful.


Read more about Salesforce Development

Want to see a demo? We can help you with that.

Let us know below what you would like to see and we'll coordinate with you to schedule up a demo.