Ant Integration

Hi,

I have a feeling that i'm running into a known issue, but i couldn't find any documentation/solution on it.

My build process is pretty complex and it uses lots of classes and third party libraries. What happens is that i'm getting OutOfMemory: in PermGen during the build.

The problem is that i simply couldn't find a way to configure a well known JVM parameter -XX:MaxPermSize for ant builds! There is a place to configure max heap usage, but not other JVM parameters ...

Any idea? (sounds funny :) ...)
10x!

Michael.

2 comments
Comment actions Permalink

Hello Michael,

There is no way for now. This issue is filed in JIRA as http://www.jetbrains.net/jira/browse/IDEADEV-3663,
to be fixed in next IDEA version(s).

Hi,

I have a feeling that i'm running into a known issue, but i couldn't
find any documentation/solution on it.

My build process is pretty complex and it uses lots of classes and
third party libraries. What happens is that i'm getting OutOfMemory:
in PermGen during the build.

The problem is that i simply couldn't find a way to configure a well
known JVM parameter -XX:MaxPermSize for ant builds! There is a place
to configure max heap usage, but not other JVM parameters ...

Any idea? (sounds funny :) ...)
10x!
Michael.

Alexander.


0
Comment actions Permalink

Add the following to your environment

ANT_OPTS with a value of -Xmx###m

0

Please sign in to leave a comment.