openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Donald Woods (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (OPENJPA-1148) Build failures with 64bit Sun JDK6 on Linux due to PermGen space
Date Fri, 07 Aug 2009 17:57:14 GMT

     [ https://issues.apache.org/jira/browse/OPENJPA-1148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Donald Woods resolved OPENJPA-1148.
-----------------------------------

    Resolution: Fixed

Removing the test.jvm.arguments in openjpa-slice and validation fixed the problems for me
on Linux.
Note:  You will need to supply MAVEN_OPTS for your 64bit Java 6 builds, like the following
(which resolved the automated build failures we were seeing):
   MacOSX and Windows - MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m"
   Linux - MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=512m"


> Build failures with 64bit Sun JDK6 on Linux due to PermGen space
> ----------------------------------------------------------------
>
>                 Key: OPENJPA-1148
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1148
>             Project: OpenJPA
>          Issue Type: Test
>          Components: build / infrastructure
>    Affects Versions: 2.0.0
>            Reporter: Donald Woods
>            Assignee: Donald Woods
>             Fix For: 2.0.0
>
>         Attachments: OPENJPA-1148.patch
>
>
> We're seeing builds fail with OOM PermGen space when using 64bit Sun JDK6 (but not IBM
SDK 6) on Linux (but not MacOSX.)
> This will involve 2 parts:
> 1) updating the test.jvm.arguments and surefire.jvm.args in the pom.xml files
> 2) users and automated build servers will need to update their MAVEN_OPTS if they want
to build with a 64bit JVM

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


Mime
View raw message