Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0030291 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| feature request | [Openbravo ERP] A. Platform | major | have not tried | 2015-06-30 17:51 | 2016-06-17 19:36 | |||
| Reporter | mtaal | View Status | public | |||||
| Assigned To | alostale | |||||||
| Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR16Q3 | |||
| Status | closed | Fix in branch | Fixed in SCM revision | ec4d1026e335 | ||||
| Projection | none | ETA | none | Target Version | 3.0PR16Q3 | |||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | SCM revision | |||||||
| Merge Request Status | ||||||||
| Review Assigned To | caristu | |||||||
| OBNetwork customer | No | |||||||
| Web browser | ||||||||
| Modules | Core | |||||||
| Support ticket | ||||||||
| Regression level | ||||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0030291: Reduce memory footprint of hibernate by re-using internal strings | |||||||
| Description | Attached a zip file with patched hibernate version which internalizes strings used to build queries. The zip file contains the patched hibernate jar, the changed source files and their unchanged counter parts. | |||||||
| Steps To Reproduce | Use the patched jar instead of the original jar file. It shows to use 180+MB less than before. The patched jar has been tested with the retail test suite, all relevant tests passed. | |||||||
| Tags | Performance | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
||||||||
|
||||||||
Notes |
|
|
(0085690) hgbot (developer) 2016-04-18 09:18 |
Repository: erp/devel/pi Changeset: ec4d1026e33515db5e3010c3c8d85608bf4a3a45 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Mon Apr 18 09:17:10 2016 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/ec4d1026e33515db5e3010c3c8d85608bf4a3a45 [^] fixed issue 30291: reduced DAL memory footprint It has been accomplished by making internal and caching select strings in this manner it is possible to make much more intesive reuse of them. --- A lib/runtime/hibernate3-patched.jar R lib/runtime/hibernate3.jar --- |
|
(0085691) alostale (viewer) 2016-04-18 09:20 |
Actual changes in code can be seen here [1]. Having this patch in CR production sever for one week before pushing it, a reduction of about 180 MB in initial old generation used memory has been noticed resulting in less frequent major garbage collections. [1] https://github.com/alostale/hibernate-orm/commit/612675c92c97bacd61d0c07a0802344eca42f5c0 [^] |
|
(0085906) caristu (viewer) 2016-04-22 15:41 |
Verified |
|
(0087455) hudsonbot (viewer) 2016-06-17 19:36 |
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/0dc7be081b1c [^] Maturity status: Test |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2015-06-30 17:51 | mtaal | New Issue | |
| 2015-06-30 17:51 | mtaal | Assigned To | => alostale |
| 2015-06-30 17:51 | mtaal | File Added: hibernate patch reduced memory.zip | |
| 2015-06-30 17:51 | mtaal | OBNetwork customer | => No |
| 2015-06-30 17:51 | mtaal | Modules | => Core |
| 2015-06-30 17:51 | mtaal | Triggers an Emergency Pack | => No |
| 2015-10-01 07:50 | alostale | Status | new => acknowledged |
| 2015-10-01 07:50 | alostale | Target Version | 3.0PR15Q4 => 3.0PR16Q1 |
| 2015-12-21 13:04 | alostale | Target Version | 3.0PR16Q1 => |
| 2016-02-03 08:22 | alostale | Status | acknowledged => scheduled |
| 2016-04-12 10:16 | alostale | Target Version | => 3.0PR16Q3 |
| 2016-04-12 11:23 | alostale | Tag Attached: Performance | |
| 2016-04-18 09:14 | alostale | Review Assigned To | => caristu |
| 2016-04-18 09:18 | hgbot | Checkin | |
| 2016-04-18 09:18 | hgbot | Note Added: 0085690 | |
| 2016-04-18 09:18 | hgbot | Status | scheduled => resolved |
| 2016-04-18 09:18 | hgbot | Resolution | open => fixed |
| 2016-04-18 09:18 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/ec4d1026e33515db5e3010c3c8d85608bf4a3a45 [^] |
| 2016-04-18 09:20 | alostale | Note Added: 0085691 | |
| 2016-04-22 15:41 | caristu | Note Added: 0085906 | |
| 2016-04-22 15:41 | caristu | Status | resolved => closed |
| 2016-04-22 15:41 | caristu | Fixed in Version | => 3.0PR16Q3 |
| 2016-06-17 19:36 | hudsonbot | Checkin | |
| 2016-06-17 19:36 | hudsonbot | Note Added: 0087455 | |
| 2017-10-13 12:39 | alostale | Relationship added | related to 0037064 |
| Copyright © 2000 - 2009 MantisBT Group |