How to increase memory allocated to Eclipse.

I’ve recently upgraded to FDT 3.0 and encountered a warning message:

“Not enough memory. To use FDT you should raise the available memory for eclipse. Edit the file ‘eclipse.ini’ inside the eclipse installation directory and add the line: -Xmx512m After doing so restart eclipse.”

I had some trouble finding the correct file. I Found the solution at:
power flasher forum the entry by matteomenapace.

To quote and elaborate from the above post:…go to the eclipse installation folder, right-click (or ctrl click for OSX ) on and choose “Show Package Contents”, then navigate through the path


Open the eclipse.ini in your favorite text editor and change the line:




Further information

I’ve currently set my memory to -Xmx1024m in the ini file. This is on a PC with 2GB of RAM running Windows XP. Raising this to a higher amount seems to have a negative effect. I still have memory issues, the FDT Java Heap running out of space, see:
Window -> Preferences -> General -> Show heap status

Technorati Tags:


2 thoughts on “How to increase memory allocated to Eclipse.

  1. Pingback: FDT+Ant: Java Heap Space und PermGen Space [Update] –

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s