Bug 724540 (BRMS-487) - Modeshape build fails on RHEL 5 x86_64 and IBM jdk 1.6 -- OutOfMemoryError
Summary: Modeshape build fails on RHEL 5 x86_64 and IBM jdk 1.6 -- OutOfMemoryError
Keywords:
Status: CLOSED NEXTRELEASE
Alias: BRMS-487
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: Modeshape
Version: 5.1.0.ER4
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
: ---
Assignee: Default User
QA Contact:
URL: http://jira.jboss.org/jira/browse/BRM...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-02 12:18 UTC by Petr Široký
Modified: 2011-09-20 12:31 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker BRMS-487 0 None Closed Modeshape build fails on RHEL 5 x86_64 and IBM jdk 1.6 -- OutOfMemoryError 2011-09-20 14:33:22 UTC

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


Note You need to log in before you can comment on or make changes to this bug.