Bug 724540 (BRMS-487)

Summary: Modeshape build fails on RHEL 5 x86_64 and IBM jdk 1.6 -- OutOfMemoryError
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Petr Široký <psiroky>
Component: ModeshapeAssignee: Default User <jbpapp-maint>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: medium    
Version: 5.1.0.ER4CC: vhalbert
Target Milestone: ---Keywords: TestBlocker
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/BRMS-487
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
RHEL 5 x86_64 IBM jdk 1.6 modeshape 2.2.x (revision 2553)
Last Closed: 2011-07-12 19:01:33 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:

Description Petr Široký 2010-12-02 12:18:07 UTC
Affects Testing: Blocks Testing
securitylevel_name: Public

When building modeshape 2.2.x (revision 2553) on RHEL 5 x86_64 and IBM jdk 1.6 the build fails with OutOfMemoryError.

Exception in thread "Attach handler" java.lang.OutOfMemoryError
     [java] 	at com.ibm.tools.attach.javaSE.CommonDirectory.waitSemaphore(CommonDirectory.java:254)
     [java] 	at com.ibm.tools.attach.javaSE.AttachHandler.waitForNotification(AttachHandler.java:282)
     [java] 	at com.ibm.tools.attach.javaSE.AttachHandler.run(AttachHandler.java:203)

See http://hudson.qa.jboss.com/hudson/view/BRMS/job/brms-modeshape-os/jdk=ibm16,label=RHEL5_x86_64/26/console for full stack trace.

It is possible memory leak in IBM jdk 1.6 -- see https://issues.apache.org/jira/browse/GERONIMO-5650

Comment 1 Van Halbert 2011-07-12 19:01:20 UTC
To build modeshape:   add the following to jvm options:   -Xmx1024m -XX:MaxPermSize=512m