[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4728) Envers test suite failing with OutOfMemoryError

Hardy Ferentschik (JIRA) noreply at atlassian.com
Mon Dec 21 15:00:29 EST 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=35017#action_35017 ] 

Hardy Ferentschik commented on HHH-4728:
----------------------------------------

Changed surefire configuration:

{code:xml}
<plugin>
   <groupId>org.apache.maven.plugins</groupId>
   <artifactId>maven-surefire-plugin</artifactId>
   <configuration>
      <redirectTestOutputToFile>true</redirectTestOutputToFile>
      <argLine>-Xmx1024m</argLine>
   </configuration>
</plugin>
{code}

> Envers test suite failing with OutOfMemoryError
> -----------------------------------------------
>
>                 Key: HHH-4728
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4728
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: envers
>            Reporter: Hardy Ferentschik
>            Assignee: Hardy Ferentschik
>
> It does not occur on all systems, but the idea is to increase the heap size for the surefire plugin. However, this cannot be done via the MAVEN_OPTS variable, since the default fork mode for the surefire plugin is {{once}}, meaning a new JVM is getting started for the tests. The JVM arguments have to be passed via the surefire configuration.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list