You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Kevin Sutter (JIRA)" <ji...@apache.org> on 2008/10/03 19:24:44 UTC

[jira] Commented: (OPENJPA-737) Unit tests fail with OutOfMemoryException during build on Playstation 3

    [ https://issues.apache.org/jira/browse/OPENJPA-737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636684#action_12636684 ] 

Kevin Sutter commented on OPENJPA-737:
--------------------------------------

Do your kids know that you are hijacking their machine for your development environment?  :-)

Are you running with the IBM JDK or the Sun JDK?  If you are running with the IBM JDK, you may  be hitting the issue I was having with the maven Release plugin.  Here's what I put out on our Release page ( http://cwiki.apache.org/confluence/display/openjpa/New+Release+Instructions+(BETA) ):

o  If using IBM JDK, then also set the system property test.jvm.arguments to -Xdump:none (Avoids OOM heap dumps on selected tests. These extra files throw off the rat:check processing.) For example,

     mvn -Dtest.jvm.arguments="-Xdump:none" ...

Or, you could switch to the Sun JDK...

Let us know if this was the cause of your problem.  OpenJPA has a testcase that forces OOM errors, so you just might be experiencing this situation.

Kevin



> Unit tests fail with OutOfMemoryException during build on Playstation 3
> -----------------------------------------------------------------------
>
>                 Key: OPENJPA-737
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-737
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: build / infrastructure
>    Affects Versions: 1.3.0
>         Environment: Playstation 3, Yellow Dog Linux 6.0, IBM Java SDK 5.0 SR8a ppc64, 768mb swap space
>            Reporter: Jeremy Bauer
>            Priority: Minor
>
> The OpenJPA build fails with an OutOfMemoryException on Playstation 3 while running unit tests.   I end up with a large core dump and other debug files.   The build is successful when I disable the unit tests.  Is there a way to run the build+unit tests on machines with limited memory (256mb core)?  
> BTW, I have yet to get an OutOfMemoryException or javacore from Metal Gear Solid.  An OpenJPA build should be a piece of cake.  :-) :-)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.