Community
Participate
Working Groups
PDE/Build tests have started failing with Permgen errors. There not been any changes in PDE/Build to prompt this. There have been two perhaps relevant changes in p2 & ant: p2 bug 329385 - [repository] Share StringPool for Composite Repositories ant bug 327769 - Support for directory based ant task libraries The p2 bug is relevant because string interning goes into the permgen space. The ant bug is relevant because there have been problems in the past with permgen around the ant class loaders, however, the ant changes have been in for a little while now and these exceptions are new. Also of note is that the tests are apparently being run with the default permgen size, Kim says we can increase it by modifying our test.xml.
I have increased the memory limit in the tests for M4 by adding <property name="extraVMargs" value="-XX:MaxPermSize=256m" /> to the pde.build.tests/test.xml I will leave this bug open to do a bit more investigation
I really think this is ultimately related to bug 130545, nearly every test case is a new AntRunner. The test suite was split into two pieces and we haven't run out of memory since then.