Openbravo Issue Tracking System - POS2 |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0051884 | POS2 | POS | public | 2023-03-16 14:03 | 2023-03-23 10:31 |
|
Reporter | alostale | |
Assigned To | jlopez | |
Priority | normal | Severity | critical | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 23Q2 | |
Merge Request Status | approved |
Review Assigned To | |
OBNetwork customer | No |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0051884: OOM executing Product Perimeter report |
Description | If Product Perimeter report is executed for a discount that's applicable to a big amount of products, server gets Out Of Memory. |
Steps To Reproduce | In an environment with a few number of products (tested with 80K, but most likely much less is enough):
1. Create a discount leaving all fields as default: Included Products: all excluded defined. So this will apply to all products
2. Click on Product Perimeter Report
-> OOM |
Proposed Solution | Maybe is not such a good idea to try to load in memory the whole table of products: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/blob/master/src/org/openbravo/pos2/process/ProductPerimeterReport.java#L137 [^] |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | feature request | 0049990 | | closed | jlopez | [Product Perimeter] - Retrieve CSV file with the list of products to which this discount is applicable to |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2023-03-16 14:03 | alostale | New Issue | |
2023-03-16 14:03 | alostale | Assigned To | => Retail |
2023-03-16 14:03 | alostale | OBNetwork customer | => No |
2023-03-16 14:03 | alostale | Triggers an Emergency Pack | => No |
2023-03-16 14:03 | alostale | Relationship added | related to 0049990 |
2023-03-17 09:33 | aferraz | Assigned To | Retail => jlopez |
2023-03-20 20:22 | hgbot | Merge Request Status | => open |
2023-03-20 20:22 | hgbot | Note Added: 0147725 | |
2023-03-23 10:30 | hgbot | Merge Request Status | open => approved |
2023-03-23 10:31 | hgbot | Resolution | open => fixed |
2023-03-23 10:31 | hgbot | Status | new => closed |
2023-03-23 10:31 | hgbot | Note Added: 0147887 | |
2023-03-23 10:31 | hgbot | Fixed in Version | => 23Q2 |
2023-03-23 10:31 | hgbot | Note Added: 0147888 | |