Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0020261 | Openbravo ERP | A. Platform | public | 2012-04-13 09:29 | 2012-05-17 09:21 | ||||||||||||||
Reporter | alostale | ||||||||||||||||||
Assigned To | alostale | ||||||||||||||||||
Priority | immediate | Severity | critical | Reproducibility | always | ||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||
Product Version | |||||||||||||||||||
Target Version | 3.0MP11 | Fixed in Version | 3.0MP11 | ||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | |||||||||||||||||||
OBNetwork customer | |||||||||||||||||||
Web browser | |||||||||||||||||||
Modules | Core | ||||||||||||||||||
Support ticket | |||||||||||||||||||
Regression level | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0020261: 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 | ||||||||||||||||||
Proposed Solution | |||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | Performance | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | audit-ps-not-fixed.png (39,685) 2012-04-13 09:37 https://issues.openbravo.com/file_download.php?file_id=5130&type=bug audit-ps-fixed.png (39,961) 2012-04-13 09:37 https://issues.openbravo.com/file_download.php?file_id=5131&type=bug | ||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2012-04-13 09:29 | alostale | New Issue | |||||||||||||||||
2012-04-13 09:29 | alostale | Assigned To | => alostale | ||||||||||||||||
2012-04-13 09:29 | alostale | Modules | => Core | ||||||||||||||||
2012-04-13 09:29 | alostale | Relationship added | depends on 0020146 | ||||||||||||||||
2012-04-13 09:29 | alostale | Relationship replaced | related to 0020146 | ||||||||||||||||
2012-04-13 09:30 | alostale | Tag Attached: Performance | |||||||||||||||||
2012-04-13 09:37 | alostale | File Added: audit-ps-not-fixed.png | |||||||||||||||||
2012-04-13 09:37 | alostale | File Added: audit-ps-fixed.png | |||||||||||||||||
2012-04-13 09:40 | alostale | Description Updated | bug_revision_view_page.php?rev_id=3359#r3359 | ||||||||||||||||
2012-04-13 09:44 | alostale | Target Version | => 3.0MP11 | ||||||||||||||||
2012-04-13 09:44 | alostale | Description Updated | bug_revision_view_page.php?rev_id=3360#r3360 | ||||||||||||||||
2012-04-13 10:58 | alostale | Note Added: 0047557 | |||||||||||||||||
2012-04-13 10:59 | hgbot | Checkin | |||||||||||||||||
2012-04-13 10:59 | hgbot | Note Added: 0047558 | |||||||||||||||||
2012-04-13 10:59 | hgbot | Status | new => resolved | ||||||||||||||||
2012-04-13 10:59 | hgbot | Resolution | open => fixed | ||||||||||||||||
2012-04-13 10:59 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/5dd00d37616387fda77cdc81862a423de3d8bce3 [^] | ||||||||||||||||
2012-04-17 05:32 | hudsonbot | Checkin | |||||||||||||||||
2012-04-17 05:32 | hudsonbot | Note Added: 0047649 | |||||||||||||||||
2012-04-26 15:47 | AugustoMauch | Note Added: 0048039 | |||||||||||||||||
2012-04-26 15:47 | AugustoMauch | Status | resolved => closed | ||||||||||||||||
2012-04-26 15:47 | AugustoMauch | Fixed in Version | => 3.0MP11 | ||||||||||||||||
2012-05-17 09:20 | alostale | Status | closed => new | ||||||||||||||||
2012-05-17 09:20 | alostale | Resolution | fixed => open | ||||||||||||||||
2012-05-17 09:20 | alostale | Fixed in Version | 3.0MP11 => | ||||||||||||||||
2012-05-17 09:20 | alostale | Status | new => scheduled | ||||||||||||||||
2012-05-17 09:20 | alostale | fix_in_branch | => pi | ||||||||||||||||
2012-05-17 09:20 | alostale | Status | scheduled => resolved | ||||||||||||||||
2012-05-17 09:20 | alostale | Fixed in Version | => 3.0MP11 | ||||||||||||||||
2012-05-17 09:20 | alostale | Resolution | open => fixed | ||||||||||||||||
2012-05-17 09:21 | alostale | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|