Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0031840 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Modules] Not Posted Transactions | major | always | 2016-01-08 10:24 | 2016-01-13 13:11 | |||
Reporter | VictorVillar | View Status | public | |||||
Assigned To | vmromanos | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 55c3cd412ff8 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Regression date | ||||||||
Regression introduced by commit | ||||||||
Regression level | ||||||||
Review Assigned To | aferraz | |||||||
Regression introduced in release | ||||||||
Summary | 0031840: Error Out of memory trying to open the Report not posted window | |||||||
Description | Error Out of memory trying to open the Report not posted window due to large amount of data | |||||||
Steps To Reproduce | Error Out of memory trying to open the Report not posted window due to large amount of data | |||||||
Tags | No tags attached. | |||||||
Attached Files | without.png [^] (141,761 bytes) 2016-01-13 09:45
withfix.png [^] (135,961 bytes) 2016-01-13 09:46 | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0083221) vmromanos (manager) 2016-01-13 09:45 |
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 (manager) 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 (developer) 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 --- |
(0083224) vmromanos (manager) 2016-01-13 10:02 |
Fixed in module version 1.0.100 (or higher) |
(0083236) aferraz (manager) 2016-01-13 13:11 |
Code review OK |
Issue History | |||
Date Modified | Username | Field | Change |
2016-01-08 10:24 | VictorVillar | New Issue | |
2016-01-08 10:24 | VictorVillar | Assigned To | => Triage Finance |
2016-01-08 10:24 | VictorVillar | Resolution time | => 1452380400 |
2016-01-08 10:24 | VictorVillar | Issue Monitored: networkb | |
2016-01-11 09:32 | aferraz | Assigned To | Triage Finance => AtulOpenbravo |
2016-01-13 09:41 | vmromanos | Status | new => scheduled |
2016-01-13 09:41 | vmromanos | Assigned To | AtulOpenbravo => vmromanos |
2016-01-13 09:45 | vmromanos | Note Added: 0083221 | |
2016-01-13 09:45 | vmromanos | File Added: without.png | |
2016-01-13 09:46 | vmromanos | File Added: withfix.png | |
2016-01-13 09:59 | vmromanos | Note Added: 0083222 | |
2016-01-13 10:00 | hgbot | Checkin | |
2016-01-13 10:00 | hgbot | Note Added: 0083223 | |
2016-01-13 10:00 | hgbot | Status | scheduled => resolved |
2016-01-13 10:00 | hgbot | Resolution | open => fixed |
2016-01-13 10:00 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/mods/org.openbravo.financialmgmt.accounting.report.notposted/rev/55c3cd412ff8f6aaea88838baa60784cb7a23f0f [^] |
2016-01-13 10:02 | vmromanos | Note Added: 0083224 | |
2016-01-13 10:32 | vmromanos | Note Edited: 0083222 | View Revisions |
2016-01-13 13:11 | aferraz | Review Assigned To | => aferraz |
2016-01-13 13:11 | aferraz | Note Added: 0083236 | |
2016-01-13 13:11 | aferraz | Status | resolved => closed |
2016-06-16 17:05 | maite | Relationship added | related to 0033294 |
Copyright © 2000 - 2009 MantisBT Group |