You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Jeremy Bauer (JIRA)" <ji...@apache.org> on 2010/04/20 21:50:51 UTC

[jira] Closed: (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:all-tabpanel ]

Jeremy Bauer closed OPENJPA-737.
--------------------------------

      Assignee: Jeremy Bauer
    Resolution: Won't Fix

I spent a bit of time on this issue several weeks back.  I was able to get around the OOM and severe performance problems by:

* Upgrading to YDL 6.2 which include a kernel module to add a high priority 256M swap area mapped to high speed VRAM
* Adding a 2GB swap partition on an external USB 2.0 disk
* Using a remote MySQL database - eliminating disk I/O to a local Derby DB
* Using the 32-bit IBM SDK, which uses less heap

A build with jUnits was still terribly slow (20+ hours) due to the lack of core memory.  In addition, Sony recently pulled the plug on their "Other OS" support as of firmware rev 3.21.  While OpenJPA may prove to work fine within an application on this platform (pre-3.21 fw), it doesn't look to be a suitable for development.  Closing this JIRA.

> 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
>            Assignee: 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.