Summary: | [Build] JPA LRG: Out of memory error on XML report processing on 32 or 64 bit SUN JVM | ||
---|---|---|---|
Product: | z_Archived | Reporter: | Michael OBrien <michael.f.obrien> |
Component: | Eclipselink | Assignee: | Nobody - feel free to take it <nobody> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | minor | ||
Priority: | P2 | CC: | eric.gwin, kevin.yuan, tom.ware |
Version: | unspecified | Keywords: | test |
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: | |||
Attachments: |
Description
Michael OBrien
2009-10-05 15:32:33 EDT
Created attachment 148820 [details]
JConsole memory heap screencap OOME with XML report gen spike for JPA build.xml:1072
>currently now working on this issue - as my primary development environment has switched to 64-bit - which has no issues with this test suite. Other developers are however still experiencing this issue running in 32-bit mode. >workaround also is to use the testing browser which does not generate a report - and ignore the html generation error and parse the XML file manually. >We are limitied by the 2GB RAM footprint of some of the build servers - this 1536 fix will only run on 4GB XP machines - keep it at a max of 1024 and add a variable for developers to bump it up to 1536 if they get an OOME
Created attachment 150769 [details] Post 56xx fix for OOME for 64-bit JVMs running JPA LRG in ant - a formal test.properties user definable property is required - I am not checking this local change in >Failing with an OOME or "Forked Java VM exited abnormally" on a 64 bit SUN JVM on a machine with 12GB Fix is to increase the heap from 512 to 2048 If I increase the heap from 512 to 2048 (for 64 bit JVM's only with over 4GB ram) I no longer crash running the ant report it generates the following 1605 1 2 99.81% 1457.861 >We will need a user assignable build property in the future for this to accomidate either 32 or 64 bit JVM's. Is this still occurring? Is the variable still needed? I'm asking because the nightly builds have been running on a 64-bit jvm for quite a while and I've seen no specific out of memory issues. >The XML processing at the end of the build has been running fine within 1k since 2010 at least
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |