Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0037305 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Retail Modules] Web POS | major | sometimes | 2017-11-16 07:39 | 2017-12-22 08:42 | |||
Reporter | guillermogil | View Status | public | |||||
Assigned To | marvintm | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | RR17Q3.3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 3840f870f2cb | ||||
Projection | none | ETA | none | Target Version | RR17Q3.2 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | migueldejuana | |||||||
OBNetwork customer | OBPS | |||||||
Support ticket | ||||||||
Regression level | Production - Confirmed Stable | |||||||
Regression date | 2016-01-05 | |||||||
Regression introduced in release | RR16Q2 | |||||||
Regression introduced by commit | https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/727a4f04e3e023624bbdc36cdb682e95304129ad [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0037305: Java Heap Memory can rise on login if batch size is big | |||||||
Description | Java Heap Memory can rise on login if batch size is big and you have a big batch size and an small xmx. | |||||||
Steps To Reproduce | With a lot of products, big batch size (> 60000) and an small xmx in CATALINA_OPTS (1GB) Try to login in WebPOS You will have a Java heap memory. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0101149) hgbot (developer) 2017-12-19 18:50 |
Repository: retail/backports/3.0RR17Q3.2/org.openbravo.mobile.core Changeset: 3840f870f2cb804eacae68a42667e1d72c8e8c28 Author: Antonio Moreno <antonio.moreno <at> openbravo.com> Date: Tue Dec 19 18:50:14 2017 +0100 URL: http://code.openbravo.com/retail/backports/3.0RR17Q3.2/org.openbravo.mobile.core/rev/3840f870f2cb804eacae68a42667e1d72c8e8c28 [^] Fixed issue 37305. Avoid usage of intermediate StringWriters so that response doesn't take too much heap. > The main problem is that the two intermediate StringWriters accumulate the whole response before it is sent back to the client. This causes Java Heap memory problems in case the batching is set to a big amount, and concurrency is high. > The solution is to remove these intermediate StringWriters. We have verified that the messages are not lost even in the case of low level database problems, because the client correctly detects the problem, and doesn't remove the records, and instead tries to send them again in the next synchronization. --- M src/org/openbravo/mobile/core/process/MobileService.java M src/org/openbravo/mobile/core/process/MobileServiceProcessor.java --- |
(0101196) migueldejuana (viewer) 2017-12-22 08:42 |
Reviewed |
![]() |
|||
Date Modified | Username | Field | Change |
2017-11-16 10:27 | marvintm | Type | design defect => backport |
2017-11-16 10:27 | marvintm | Target Version | => RR17Q3.2 |
2017-12-19 18:40 | marvintm | Assigned To | Retail => marvintm |
2017-12-19 18:50 | hgbot | Checkin | |
2017-12-19 18:50 | hgbot | Note Added: 0101149 | |
2017-12-19 18:50 | hgbot | Status | scheduled => resolved |
2017-12-19 18:50 | hgbot | Resolution | open => fixed |
2017-12-19 18:50 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/retail/backports/3.0RR17Q3.2/org.openbravo.mobile.core/rev/3840f870f2cb804eacae68a42667e1d72c8e8c28 [^] |
2017-12-22 08:42 | migueldejuana | Review Assigned To | => migueldejuana |
2017-12-22 08:42 | migueldejuana | Note Added: 0101196 | |
2017-12-22 08:42 | migueldejuana | Status | resolved => closed |
2017-12-22 08:42 | migueldejuana | Fixed in Version | => RR17Q3.3 |
Copyright © 2000 - 2009 MantisBT Group |