Hi,
On our Jenkins machines we disabled the HDFS tests because of this. The problem 
with your command line is:
ANT_OPTS is giving the permgen space for the ANT process itself, but this has 
nothing to do with permgen used by the tests. To define the permgen space for 
the test runner must be passed with -Dargs="-XX:MaxPermSize=128m" to the test 
runner childs. A slightly larger value like 128m is enough (default of most 
JDKs is 84m).

See https://issues.apache.org/jira/browse/SOLR-5022

Uwe

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: [email protected]


> -----Original Message-----
> From: Per Steffensen [mailto:[email protected]]
> Sent: Thursday, February 13, 2014 8:24 AM
> To: [email protected]
> Subject: java.lang.OutOfMemoryError: PermGen space
> 
> Hi
> 
> On Ubuntu 12.04 with java 1.7.0_51 I eventually get
> "java.lang.OutOfMemoryError: PermGen space" when running the entire
> solr test-suite on trunk cd .../trunk/solr export ANT_OPTS="-
> XX:MaxPermSize=2048m -Xmx4096m"
> nohup ant clean test >test.out 2>&1 &
> 
> I can see that there has been quite some talking about the issue, and some
> JIRAs but I have been unable to find a good solution. What can I do?
> 
> java -version
> java version "1.7.0_51"
> Java(TM) SE Runtime Environment (build 1.7.0_51-b13) Java HotSpot(TM) 64-
> Bit Server VM (build 24.51-b03, mixed mode)
> 
> Regards, Per Steffensen
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected] For additional
> commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to