Permgen Space with Eclipse

Hi,

If you develop Eclipse plug-ins, you are always brought to run an Eclipse application.
It means that to test your plug-ins, you have to launch a second Eclipse from the one where you develop.

One common problem in this case is the PermGen Space issue.
This is in particular true if you test GMF plug-ins or if there is a lot of class generation.

To solve this, you can modify the permgen space allocated when you run the other Eclipse.
Go into Run > Debug Configurations. Select your Eclipse configration and go into the Arguments tab.
The field to upate is the VM Arguments.

As an example, when running Talend Open Studio in debug, I have to use the following settings.

-Xms256m -Xmx1024m -XX:MaxPermSize=512m

Debug Configuration

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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