Bug 1032621

Summary: Intermittent OOM PermGen space running basic-integration-default-web.surefire EAP tests on OracleJDK 1.6 64bit
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Pavel Jelinek <pjelinek>
Component: TestsuiteAssignee: Pavel Jelinek <pjelinek>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Jelinek <pjelinek>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: cdewolf, kkhan, myarboro, rdickens
Target Milestone: DR2   
Target Release: EAP 6.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1071906 (view as bug list) Environment:
Last Closed: 2014-06-28 15:28:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1071906    

Comment 1 Pavel Jelinek 2013-12-03 14:46:55 UTC
Workaround is to increase default PermGen size for forked surefire JVM at least for basic tests. 
One of the easiest ways can be 
sed -i 's|<argLine>${jvm.args.ip.client} ${jvm.args.timeouts}</argLine>|<argLine>${jvm.args.ip.client} ${jvm.args.timeouts} -XX:MaxPermSize=128m</argLine>|' "${WORKSPACE}/jboss-eap-6.2-src/testsuite/integration/pom.xml"

Comment 3 Pavel Jelinek 2014-03-07 13:45:28 UTC
Verified for EAP 6.3.0.DR2. Fix is in source zip and there is no more such OOM issue.