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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0020173
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 01. General setupmajoralways2012-03-31 21:122016-07-26 12:36
ReporteraplattsmierView Statuspublic 
Assigned Togorka_gil 
PriorityhighResolutionduplicateFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version1.6.0_26
OS VersionUbuntu 2.6.32-40 (10.04 LTS)Database versionPostgresql 8.4.11Ant version1.7.0_03
Product Version3.0MP8.1SCM revision 
Review Assigned To
Web browserMozilla Firefox
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0020173: Build in 64bit environment generates "Error occurred during initalizaiton of VM" and "Too small inital heap" at sqlc

DescriptionThis error occurs when trying to build install.source without modification.
After setting the CATALINA_OPTS, ANT_OPTS, JAVA_OPTS all with larger memory allocation -Xms2048m -Xmx2048m (and other various combinations)
Ex. -Xms1024m -Xmx4096m and also setting the build.xml to build.maximummemory to 1284, 2048 and 4096. All are unable to clear the error.
Direction on setting JAVA_HOME, CATALINA_HOME, ANT_HOME, CATALINA_BASE etc...have all yielded no successful compile results.

Very similar to issue 0010771 Steps in this particular issue were followed and did not correct the error.

ANT, JAVA, POSTGRES, and TOMCAT6 were all installed from respective sources and function normally.

Machine is a physical 64x Ubuntu with 4G of ram. Was able to successfully compile with same parameters by converting physical machine to virtual (VMWare machine) and only 1.5G of allocated ram, on the same hardware.
Steps To ReproduceInstall indicated stack.
ant setup
/setup_properties-linux-64x.bin
ant install.source
Proposed SolutionCorrect memory usage
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
duplicate of feature request 0022559 closedshuehner SqlC does execute all queries at compile time, which is not required. 

-  Notes
(0047474)
gorka_gil (administrator)
2012-04-11 12:24


These values should fit:

ANT_OPTS="-Xmx1280M -XX:MaxPermSize=128M"

CATALINA_OPTS="-server -Djava.awt.headless=true -Xms384M -Xmx1536M -XX:MaxPermSize=256M"

Note: Take into account that the M after the memory is in uppercase.

The best way to check if ant or tomcat are taken the new values are with this command : "ps aux | grep java" .

You can get more details here:
http://wiki.openbravo.com/wiki/Installation/Custom/Apache_Tomcat [^]
http://wiki.openbravo.com/wiki/Installation/Custom/Apache_Ant [^]
(0088665)
shuehner (administrator)
2016-07-26 12:36

Issue 22559 should resolve all 'huge memory use in SqlC' issues.

- Issue History
Date Modified Username Field Change
2012-03-31 21:12 aplattsmier New Issue
2012-03-31 21:12 aplattsmier Assigned To => vmromanos
2012-03-31 21:12 aplattsmier Web browser => Mozilla Firefox
2012-03-31 21:12 aplattsmier Modules => Core
2012-04-11 11:29 vmromanos Assigned To vmromanos => gorka_gil
2012-04-11 12:24 gorka_gil Note Added: 0047474
2012-04-11 12:24 gorka_gil Status new => feedback
2012-12-13 11:09 shuehner Relationship added related to 0022559
2016-07-26 12:36 shuehner Relationship replaced duplicate of 0022559
2016-07-26 12:36 shuehner Note Added: 0088665
2016-07-26 12:36 shuehner Status feedback => closed
2016-07-26 12:36 shuehner Resolution open => duplicate


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker