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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0017040
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Openbravo ERP] A. Platformminoralways2011-05-06 11:052017-03-10 17:04
Reportergorka_gilView Statuspublic 
Assigned Toalostale 
PriorityhighResolutionout of dateFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision9e7aa2b1c462 
Review Assigned Togorka_gil
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0017040: Install.source in 64 bit fails with -Xmx1024M in ANT_OPTS

DescriptionThe install sources in 64 bits needs more than 1GB in ANT_OPS because the the load.logoimages fails with a "java.lang.OutOfMemoryError: GC overhead limit exceeded" error:

   load.logoimages:

   load.logoimages:

   BUILD FAILED
   /srv/hudson/workspace/try-smoke-oracle-inc/build.xml:683: The following error occurred while executing this line:
   /srv/hudson/workspace/try-smoke-oracle-inc/build.xml:1094: The following error occurred while executing this line:
   /srv/hudson/workspace/try-smoke-oracle-inc/src/build.xml:128: org.openbravo.base.exception.OBException: java.lang.OutOfMemoryError: GC overhead limit exceeded


Workaround: set -Xmx1280M in ANT_OPTS.

This only affects 64 bits, in 32 bits -Xmx1024M in ANT_OPTS works fine.

Steps To Reproduce* install.source in 64 bits of the current pi
Proposed Solutionimage.loading should be either forked off to use build.maxmem or rewritten to just not use dal (ideally that as would speed up install.source by 30s also)
TagsOB3-Reviewed
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0046848)
alostale (manager)
2012-03-28 17:28

Setting it as design defect because fixing this issue requires to review/redising the whole build process.
(0046866)
roklenardic (developer)
2012-03-29 11:19

It failed on a 32bit Ubuntu 12.04 for me as well with the following ANT setup:
ANT_OPTS=-Xmx1024M -XX:MaxPermSize=128M
(0052447)
AugustoMauch (administrator)
2012-09-24 23:18

Effort: 3
Impact: mid
Plan: short
(0094945)
gorka_gil (administrator)
2017-03-10 17:04

Most likely obsolete now as build.maxmemory is auto-configured (depending on 32/64 bit system) and since then no manual config of ANT_OPTS should be required to raise -XmX

- Issue History
Date Modified Username Field Change
2011-05-06 11:05 gorka_gil New Issue
2011-05-06 11:05 gorka_gil Assigned To => shuehner
2011-05-06 11:05 gorka_gil Modules => Core
2011-05-16 10:06 alostale Status new => scheduled
2011-11-17 16:49 shuehner Tag Attached: OB3-Reviewed
2012-02-20 11:13 shuehner Assigned To shuehner => alostale
2012-03-28 17:28 alostale Note Added: 0046848
2012-03-28 17:28 alostale Type defect => design defect
2012-03-29 11:19 roklenardic Note Added: 0046866
2012-09-24 23:18 AugustoMauch Note Added: 0052447
2012-09-24 23:18 AugustoMauch Priority normal => high
2017-03-10 17:04 gorka_gil Review Assigned To => gorka_gil
2017-03-10 17:04 gorka_gil Note Added: 0094945
2017-03-10 17:04 gorka_gil Status scheduled => closed
2017-03-10 17:04 gorka_gil Resolution open => out of date


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker