Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0027112 | Openbravo ERP | A. Platform | public | 2014-07-17 13:53 | 2014-08-08 18:53 |
|
Reporter | shuehner | |
Assigned To | mtaal | |
Priority | immediate | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR14Q4 | |
Merge Request Status | |
Review Assigned To | shankarb |
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 | 0027112: DatasetExportTest.testIncludeAllPlusChildren fails with oom on bigger c_order (+children) |
Description | Running that test against a db having more orders (+childrens) fails with oom (depening on heap size).
Just running that test against whitevalley data as recently added to retail-ci is sufficient to trigger the problem.
Checking test code shows that it unconditionally exports all of c_order + all children to xml which can grow indefinitely depending on data-size.
As the test seems to only check structure of the xml it should be possible to change the test to only export smaller datasets.
Possible options
1.) keep c_order table but add whereclause. Problem is that whereclause needs to work with both f&b + also whitevalley data
2.) Change test to use other table garanteed to have much smaller/fixed size |
Steps To Reproduce | ant run.all.tests against retail db with heap size -Xmx512M for ant_opts and 1G for catalina_opts |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2014-07-17 13:53 | shuehner | New Issue | |
2014-07-17 13:53 | shuehner | Assigned To | => mtaal |
2014-07-17 13:53 | shuehner | OBNetwork customer | => No |
2014-07-17 13:53 | shuehner | Modules | => Core |
2014-07-17 13:53 | shuehner | Triggers an Emergency Pack | => No |
2014-07-21 01:54 | hgbot | Checkin | |
2014-07-21 01:54 | hgbot | Note Added: 0068740 | |
2014-07-21 01:54 | hgbot | Status | new => resolved |
2014-07-21 01:54 | hgbot | Resolution | open => fixed |
2014-07-21 01:54 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/7a248f55faf504a29fab3c19aa19110321673249 [^] |
2014-07-22 00:25 | hgbot | Checkin | |
2014-07-22 00:25 | hgbot | Note Added: 0068773 | |
2014-07-29 08:47 | alostale | Review Assigned To | => shankarb |
2014-07-31 06:28 | shankarb | Note Added: 0068993 | |
2014-07-31 06:28 | shankarb | Status | resolved => closed |
2014-07-31 06:28 | shankarb | Fixed in Version | => 3.0PR14Q4 |
2014-08-08 18:53 | hudsonbot | Checkin | |
2014-08-08 18:53 | hudsonbot | Note Added: 0069188 | |
2014-08-08 18:53 | hudsonbot | Checkin | |
2014-08-08 18:53 | hudsonbot | Note Added: 0069198 | |
Notes |
|
(0068740)
|
hgbot
|
2014-07-21 01:54
|
|
Repository: erp/devel/pi
Changeset: 7a248f55faf504a29fab3c19aa19110321673249
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Mon Jul 21 01:53:37 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/7a248f55faf504a29fab3c19aa19110321673249 [^]
Fixes issue 27112: DatasetExportTest.testIncludeAllPlusChildren fails with oom on bigger c_order (+children)
---
M src-test/org/openbravo/test/xml/DatasetExportTest.java
---
|
|
|
(0068773)
|
hgbot
|
2014-07-22 00:25
|
|
|
|
(0068993)
|
shankarb
|
2014-07-31 06:28
|
|
Code reviewed and verified in pi changeset be933e11432c. |
|
|
|
|
|
|
|