I've had this problem too (running out of perm-gen due to running
Ant-tasks in Gradle). After logging the hashcodes of the Ant objects
and the Ant tasks it turned out that both where recreated on every
invokation of the Gradle action they were embedded within. And since
my task is written in Groovy with a lot of closures, a lot of
classes got generated (I'm guessing every invokcation of the Ant
task created new classes for the ant-task and its closures). My
solution was to simply use the ant task of the root-project. Den 26-01-2012 23:47, Rajiv Narula skrev: Saw your reply on SO --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
- [gradle-user] Re: PermGen error while running Ant from ... Peter Niederwieser
- Re: [gradle-user] Re: PermGen error while running ... Rajiv Narula
- Re: [gradle-user] Re: PermGen error while runn... Rajiv Narula
- Re: [gradle-user] Re: PermGen error while ... Thor Kummer
- Re: [gradle-user] Re: PermGen error wh... Rajiv Narula
- Re: [gradle-user] Re: PermGen err... Thor Kummer