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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0026030
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2014-03-18 15:452014-03-21 11:32
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PriorityimmediateResolutionfixedFixed in Version3.0PR14Q2
StatusclosedFix in branchFixed in SCM revision3f37631fbc2c
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseOracleJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToAugustoMauch
Web browser
ModulesCore
Regression levelPre packaging ( pi )
Regression date2014-03-03
Regression introduced in release
Regression introduced by commithttp://code.openbravo.com/erp/devel/pi/rev/8845de885b879c0f2b58210ed144196a315969ac [^]
Triggers an Emergency PackNo
Summary

0026030: OOM Error in Oracle due to prepared statements

DescriptionOOM in Oracle due to prepared statements stored in memory.

The problem is Oracle's JDBC allocates memory for prepared statements based on fetch size * row size. Big rows with big fetch sized consume lots of memory.
Steps To ReproduceAfter a while running the application with Oracle the memory usage is huge.

Checking a memory dump many prepared statements are present.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to design defect 0024405 closeddmiguelez It is not possible to calculate warehouse transactions under some circunstancies 
related to design defect 0012418 acknowledgedTriage Platform Base Cached prepared statements consumes tons of memory 

-  Notes
(0065265)
hgbot (developer)
2014-03-18 15:50

Repository: erp/devel/pi
Changeset: 3f37631fbc2c47ab45051d20b1634914b9934b70
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Mar 18 15:49:50 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/3f37631fbc2c47ab45051d20b1634914b9934b70 [^]

fixed bug 26030: OOM Error in Oracle due to prepared statements
  Reduced fetch size not to use so much memory

---
M src/org/openbravo/costing/CostingBackground.java
---
(0065287)
hudsonbot (developer)
2014-03-19 02:42

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/9b8682dba110 [^]
Maturity status: Test
(0065354)
AugustoMauch (administrator)
2014-03-21 11:32

Code reviewed and verified in pi@617ac4497332. Check with the Financial team that this change does not interfere with this fix: https://code.openbravo.com/erp/devel/pi/rev/8845de885b879c0f2b58210ed144196a315969ac [^]

- Issue History
Date Modified Username Field Change
2014-03-18 15:45 alostale New Issue
2014-03-18 15:45 alostale Assigned To => alostale
2014-03-18 15:45 alostale Modules => Core
2014-03-18 15:45 alostale Triggers an Emergency Pack => No
2014-03-18 15:46 alostale Regression level => Pre packaging ( pi )
2014-03-18 15:46 alostale Regression date => 2014-03-03
2014-03-18 15:46 alostale Regression introduced by commit => http://code.openbravo.com/erp/devel/pi/rev/8845de885b879c0f2b58210ed144196a315969ac [^]
2014-03-18 15:46 alostale Priority normal => immediate
2014-03-18 15:48 alostale Description Updated View Revisions
2014-03-18 15:48 alostale Relationship added related to 0024405
2014-03-18 15:48 alostale Review Assigned To => AugustoMauch
2014-03-18 15:50 hgbot Checkin
2014-03-18 15:50 hgbot Note Added: 0065265
2014-03-18 15:50 hgbot Status new => resolved
2014-03-18 15:50 hgbot Resolution open => fixed
2014-03-18 15:50 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/3f37631fbc2c47ab45051d20b1634914b9934b70 [^]
2014-03-18 15:51 alostale Relationship added related to 0012418
2014-03-19 02:42 hudsonbot Checkin
2014-03-19 02:42 hudsonbot Note Added: 0065287
2014-03-21 11:32 AugustoMauch Note Added: 0065354
2014-03-21 11:32 AugustoMauch Status resolved => closed
2014-03-21 11:32 AugustoMauch Fixed in Version => PR14Q2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker