Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0051884 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [POS2] POS | critical | have not tried | 2023-03-16 14:03 | 2023-03-23 10:31 | |||
| Reporter | alostale | View Status | public | |||||
| Assigned To | jlopez | |||||||
| Priority | normal | Resolution | fixed | Fixed in Version | 23Q2 | |||
| Status | closed | Fix in branch | Fixed in SCM revision | |||||
| 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 | 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 [^] | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
||||||||
|
||||||||
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 | 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 | |
| Copyright © 2000 - 2009 MantisBT Group |