Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0027112 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2014-07-17 13:53 | 2014-08-08 18:53 | |||
Reporter | shuehner | View Status | public | |||||
Assigned To | mtaal | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | 3.0PR14Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 7a248f55faf5 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
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 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0068740) hgbot (developer) 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 (developer) 2014-07-22 00:25 |
Repository: erp/devel/pi Changeset: c710d0280ce230bf85fd7d6b90de21250e56d506 Author: Martin Taal <martin.taal <at> openbravo.com> Date: Tue Jul 22 00:24:51 2014 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/c710d0280ce230bf85fd7d6b90de21250e56d506 [^] Related to issue 27112: added code comment --- M src-test/org/openbravo/test/xml/DatasetExportTest.java --- |
(0068993) shankarb (viewer) 2014-07-31 06:28 |
Code reviewed and verified in pi changeset be933e11432c. |
(0069188) hudsonbot (viewer) 2014-08-08 18:53 |
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/4450016dee64 [^] Maturity status: Test |
(0069198) hudsonbot (viewer) 2014-08-08 18:53 |
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/4450016dee64 [^] Maturity status: Test |
![]() |
|||
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 |
Copyright © 2000 - 2009 MantisBT Group |