Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051884
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POScriticalhave not tried2023-03-16 14:032023-03-23 10:31
ReporteralostaleView Statuspublic 
Assigned Tojlopez 
PrioritynormalResolutionfixedFixed in Version23Q2
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0051884: OOM executing Product Perimeter report

DescriptionIf Product Perimeter report is executed for a discount that's applicable to a big amount of products, server gets Out Of Memory.
Steps To ReproduceIn 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 SolutionMaybe 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 [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0049990 closedjlopez [Product Perimeter] - Retrieve CSV file with the list of products to which this discount is applicable to 

-  Notes
(0147725)
hgbot (developer)
2023-03-20 20:22

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1610 [^]
(0147887)
hgbot (developer)
2023-03-23 10:31

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1610 [^]
(0147888)
hgbot (developer)
2023-03-23 10:31

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: a13eabfcf49101c300b1fb1d23337a3acc2bb4ab
Author: Javier López <javier.lopez@precognis.com>
Date: 23-03-2023 09:31:05
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/a13eabfcf49101c300b1fb1d23337a3acc2bb4ab [^]

Fixes ISSUE-51884: Out Of Memory executing Product Perimeter report

---
M src/org/openbravo/pos2/process/ProductPerimeterReport.java
---

- 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 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 Note Added: 0147725
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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker