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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0020498
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2012-05-14 18:452012-05-25 12:12
ReportershuehnerView Statuspublic 
Assigned Toalostale 
PriorityhighResolutionfixedFixed in Version3.0MP12
StatusclosedFix in branchFixed in SCM revisiond4ef642f1e2a
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0020498: With big number of rows in ad_session SqlC somtimes fail with OOM regarding heap-space

DescriptionWith a sufficiently high number of rows in ad_session sometimes compilation fails with an OOM error regarding heap-space when processing the SessionLogin_data.xsql file.

Checking it shows that the first method in that file does 'select * from ad_session' without any filters but is never ever called from the erp.

As the xsql-file is not public that dummy method should be fixed or just be removed.
Steps To Reproducei.e. compile on butler
Proposed SolutionReorder SqlMethods in that file not require an unused dummy method.

Attached patch implements that (only compile tested)

TagsPerformance
Attached Filesdiff file icon xsql-oom-ad_session.diff [^] (1,503 bytes) 2012-05-14 18:45 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0048669)
hgbot (developer)
2012-05-16 08:25

Repository: erp/devel/pi
Changeset: d4ef642f1e2aea82ef2afa8619f971f00f82272a
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed May 16 08:24:37 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d4ef642f1e2aea82ef2afa8619f971f00f82272a [^]

fixed bug 20498: Heap space error in SqlC with big number of rows in ad_session

---
M src/org/openbravo/erpCommon/security/SessionLogin_data.xsql
---
(0048670)
alostale (manager)
2012-05-16 08:25

Code reviewed and tested on pi@d4ef642f1e2a
(0049142)
hudsonbot (developer)
2012-05-25 12:12

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/5401e185a8b0 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-05-14 18:45 shuehner New Issue
2012-05-14 18:45 shuehner Assigned To => alostale
2012-05-14 18:45 shuehner File Added: xsql-oom-ad_session.diff
2012-05-14 18:45 shuehner Modules => Core
2012-05-16 08:23 alostale Tag Attached: Performance
2012-05-16 08:25 hgbot Checkin
2012-05-16 08:25 hgbot Note Added: 0048669
2012-05-16 08:25 hgbot Status new => resolved
2012-05-16 08:25 hgbot Resolution open => fixed
2012-05-16 08:25 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/d4ef642f1e2aea82ef2afa8619f971f00f82272a [^]
2012-05-16 08:25 alostale Note Added: 0048670
2012-05-16 08:25 alostale Status resolved => closed
2012-05-16 08:25 alostale Fixed in Version => 3.0MP12
2012-05-25 12:12 hudsonbot Checkin
2012-05-25 12:12 hudsonbot Note Added: 0049142


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker