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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0020533
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] A. Platformmajoralways2012-04-13 09:292015-02-12 14:42
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PriorityurgentResolutionout of dateFixed in Version
StatusclosedFix in branch2.50Fixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0020533: SessionInfo PreparedStatement is not closed

DescriptionWhen there is at least one table fully audited, on each request a temporary table (ad_context_info) is populated with context information. The PreparedStatement used for this population is never closed.

This causes a memory leak in JVM as well as DB not releasing resources (open cursors in Oracle) making the application to degrade over time.

See attached a screenshot of memory consumption just after GC having 6 concurrent sessions during ~10min with a session ping of 500ms to simulate long usage. Second screenshot is taken in the same conditions after applying the fix. Both are taken in an instance using Oracle.
Steps To Reproduce-In a professional instance, set at last one table to be fully audited
-Follow steps defined in issue 0020146
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 00202613.0MP11 closedalostale SessionInfo PreparedStatement is not closed 

-  Notes
(0074427)
plujan (manager)
2015-02-12 14:42

Backports to 2.50 branch are no longer supported

- Issue History
Date Modified Username Field Change
2012-05-17 09:20 alostale Type defect => backport
2012-05-17 09:20 alostale fix_in_branch => 2.50
2012-05-17 09:21 alostale Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/5dd00d37616387fda77cdc81862a423de3d8bce3 [^] =>
2012-05-17 09:21 alostale Target Version 3.0MP11 =>
2012-05-17 11:28 alostale Priority immediate => urgent
2012-05-24 13:47 egoitz Issue Monitored: egoitz
2012-12-12 09:22 ioritzCia Triggers an Emergency Pack => No
2012-12-12 09:22 ioritzCia Severity critical => major
2015-02-12 14:42 plujan Note Added: 0074427
2015-02-12 14:42 plujan Status scheduled => closed
2015-02-12 14:42 plujan Resolution open => out of date


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker