Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0008987
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorsometimes2009-05-11 13:082009-05-19 00:00
ReporterjpabloaeView Statuspublic 
Assigned Toalostale 
PriorityurgentResolutionno change requiredFixed in Version
StatusclosedFix in branchpiFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version1.6.0_13
OS VersionGentoo - 2.6.18Database version8.3.7Ant version1.7.1
Product VersionpiSCM revision33a0697f2aef 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0008987: GC overhead limit exceeded in compileSqlc

DescriptionMany times we get a "[javac] Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded" error in the compileSqlc part.

It is not 100% reproducible, it just happens sometimes. This a 64bit system with the following ANT_OPTS values:
-Xms256m -Xmx1384m -XX:MaxPermSize=256m

We've also tries adding the "-XX:-UseGCOverheadLimit" option, with the same results.


Full log attached.

--
compileSqlc:
    [javac] Compiling 1538 source files to /srv/hudson/jobs/erp_devel_pi-full-pgsql/workspace/build/classes
    [javac] Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded
    [javac] at java.util.HashMap.addEntry(HashMap.java:753)
    [javac] at java.util.HashMap.put(HashMap.java:385)
    [javac] at java.util.ListResourceBundle.loadLookup(ListResourceBundle.java:180)
    [javac] at java.util.ListResourceBundle.handleGetObject(ListResourceBundle.java:106)
    [javac] at java.util.ResourceBundle.getObject(ResourceBundle.java:378)
    [javac] at java.util.ResourceBundle.getString(ResourceBundle.java:344)
    [javac] at com.sun.tools.javac.util.Messages.getLocalizedString(Messages.java:129)
    [javac] at com.sun.tools.javac.util.Messages.getLocalizedString(Messages.java:80)
    [javac] at com.sun.tools.javac.main.Main.getLocalizedString(Main.java:448)
    [javac] at com.sun.tools.javac.main.Main.resourceMessage(Main.java:421)
    [javac] at com.sun.tools.javac.main.Main.compile(Main.java:364)
    [javac] at com.sun.tools.javac.main.Main.compile(Main.java:279)
    [javac] at com.sun.tools.javac.main.Main.compile(Main.java:270)
    [javac] at com.sun.tools.javac.Main.compile(Main.java:69)
    [javac] at com.sun.tools.javac.Main.main(Main.java:54)
Proposed SolutionThe buildmaxmemory setting of the build.xml file looks suspicious.
Tags250mp2
Attached Filesgz file icon build76.txt.gz [^] (23,142 bytes) 2009-05-11 13:08

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0016282)
pjuvara (reporter)
2009-05-11 19:51

Upgrading priority as this affects the reliability of the CI framework
(0016434)
alostale (manager)
2009-05-18 17:31

It seems that increasing the build.maxmemory property in main build.xml from 512M to 1024M solves the problem.

It is being tested in CI and since it was changed it didn't appear again.

Anyway, as this issue rarely appears it is not going to be changed in core since it would change the minimun requirements as well and can be easily work-arrounded.

- Issue History
Date Modified Username Field Change
2009-05-11 13:08 jpabloae New Issue
2009-05-11 13:08 jpabloae Assigned To => rafaroda
2009-05-11 13:08 jpabloae File Added: build76.txt.gz
2009-05-11 13:08 jpabloae Regression testing => No
2009-05-11 13:09 jpabloae OS Version Gentoo - 2.6.26 => Gentoo - 2.6.18
2009-05-11 13:10 shuehner Issue Monitored: shuehner
2009-05-11 14:07 gnuyoga Issue Monitored: gnuyoga
2009-05-11 14:07 gnuyoga Issue End Monitor: gnuyoga
2009-05-11 14:08 gnuyoga Issue Monitored: gnuyoga
2009-05-11 19:51 pjuvara Note Added: 0016282
2009-05-11 19:51 pjuvara Priority high => urgent
2009-05-14 17:52 psarobe Status new => scheduled
2009-05-14 17:52 psarobe Assigned To rafaroda => alostale
2009-05-14 17:52 psarobe fix_in_branch => pi
2009-05-14 17:52 psarobe Tag Attached: 250mp2
2009-05-18 13:12 iciordia Assigned To alostale => shuehner
2009-05-18 17:25 alostale Assigned To shuehner => alostale
2009-05-18 17:31 alostale Note Added: 0016434
2009-05-18 17:31 alostale Status scheduled => closed
2009-05-18 17:31 alostale Resolution open => no change required
2009-05-19 00:00 anonymous sf_bug_id 0 => 2793559


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker