Notes |
|
|
I'm unable to reproduce this issue in my local computer even with the customer environment, probably due to my local configuration. However I have detected a place where we can have memory leak.
Find attached the memory consumption comparation before and after the fix, where we can notice around 900MB has been saved. |
|
|
(0083222)
|
vmromanos
|
2016-01-13 09:59
(edited on: 2016-01-13 10:32) |
|
Test plan:
In an environment with great amount of transactions
Login as Openbravo Admin
Go to Reset Accounting. Set Delete Accounting = Y and press OK.
Try to open the Report not posted window.
Verify you get data
|
|
|
(0083223)
|
hgbot
|
2016-01-13 10:00
|
|
Repository: erp/mods/org.openbravo.financialmgmt.accounting.report.notposted
Changeset: 55c3cd412ff8f6aaea88838baa60784cb7a23f0f
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Wed Jan 13 09:50:15 2016 +0100
URL: http://code.openbravo.com/erp/mods/org.openbravo.financialmgmt.accounting.report.notposted/rev/55c3cd412ff8f6aaea88838baa60784cb7a23f0f [^]
Fixed bug 31840: Error Out of memory trying to open the Report not posted
Using ScrollableResults and cleaning the session every 100 records keep the memory usage under control
---
M src-db/database/sourcedata/AD_MODULE.xml
M src/org/openbravo/financialmgmt/accounting/report/notposted/NotPostedDocumentsDataSource.java
---
|
|
|
|
Fixed in module version 1.0.100 (or higher) |
|
|
|
|