Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0024506 | Openbravo ERP | A. Platform | public | 2013-08-07 14:30 | 2013-08-16 20:31 |
|
Reporter | caristu | |
Assigned To | shuehner | |
Priority | urgent | Severity | major | Reproducibility | sometimes |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
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 | 0024506: Performance problem when importing bank statements |
Description | The import bank statement process is working very slow with some files. There is a performance problem with this process because a strange gc pattern appears in the cpu usage.
The flush operations in the FIN_BankStatementImport java class are where most part of the time is spent. |
Steps To Reproduce | 1- Configure tomcat with the following parameters: -Xms384M -Xmx1024M -XX:MaxPermSize=256M
2- Go to the [Financial Account] window
3- Choose an account and click on "Import Bank Statement"
4- Use the csv importer algorithm and load a bank statement with about 250 lines.
|
Proposed Solution | The root of the problem is that the process is loading too many business partners into the memory from the database.
Most of those business partners are not modified during the process.
So there is no need of keeping those unmodified business partners in the DAL session. They should be evicted directly to reduce size of the session and thus greatly reducing time spend on flush iterating over entities in the session. |
Additional Information | |
Tags | Performance |
Relationships | has duplicate | defect | 0024246 | | closed | caristu | Modules | Error OutOfMemory when you try to import a CSV with 800 lines |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2013-08-07 14:30 | caristu | New Issue | |
2013-08-07 14:30 | caristu | Assigned To | => shuehner |
2013-08-07 14:30 | caristu | Modules | => Core |
2013-08-07 14:30 | caristu | OBNetwork customer | => No |
2013-08-07 14:30 | caristu | Triggers an Emergency Pack | => No |
2013-08-07 14:30 | caristu | Issue Monitored: networkb | |
2013-08-07 14:31 | caristu | Tag Attached: Performance | |
2013-08-07 14:35 | shuehner | Proposed Solution updated | |
2013-08-07 15:44 | hgbot | Checkin | |
2013-08-07 15:44 | hgbot | Note Added: 0060533 | |
2013-08-07 15:44 | hgbot | Status | new => resolved |
2013-08-07 15:44 | hgbot | Resolution | open => fixed |
2013-08-07 15:44 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/fcf4d70d60194e7afdca63dcbf4725ffb3201f07 [^] |
2013-08-08 11:54 | caristu | Review Assigned To | => caristu |
2013-08-08 11:54 | caristu | Note Added: 0060543 | |
2013-08-08 11:54 | caristu | Status | resolved => closed |
2013-08-16 20:31 | hudsonbot | Checkin | |
2013-08-16 20:31 | hudsonbot | Note Added: 0060632 | |
2013-09-10 19:19 | caristu | Relationship added | has duplicate 0024246 |