Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0020533 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] A. Platform | major | always | 2012-04-13 09:29 | 2015-02-12 14:42 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | urgent | Resolution | out of date | Fixed in Version | ||||
Status | closed | Fix in branch | 2.50 | Fixed in SCM revision | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0020533: SessionInfo PreparedStatement is not closed | |||||||
Description | When 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 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
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 |