Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0019810 | Openbravo ERP | A. Platform | public | 2012-02-20 10:39 | 2012-03-02 15:38 |
Reporter | alostale | ||||
Assigned To | alostale | ||||
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | 3.0MP9 | Fixed in Version | |||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0019810: ViewComponent memory leak | ||||
Description | Whenever a window in opened and the request reaches the backend (it is not cached in client), a new instance of ViewComponent class is created and it is never cleaned up from memory. This causes heap memory usage to rapidly increase as ViewComponent instances can be heavy (up to 4MB). Attached you can see graphs of part of a heap dump suffering this issue. | ||||
Steps To Reproduce | -Execute the attached script that does 25 calls to backed for new windows. -Check heap increases with as many ViewComponent instances as opened windows. | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | Selection_031.png (37,363) 2012-02-20 10:39 https://issues.openbravo.com/file_download.php?file_id=5008&type=bug Selection_032.png (150,567) 2012-02-20 10:40 https://issues.openbravo.com/file_download.php?file_id=5009&type=bug test.html (1,073) 2012-02-20 10:40 https://issues.openbravo.com/file_download.php?file_id=5010&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-02-20 10:39 | alostale | New Issue | |||
2012-02-20 10:39 | alostale | Assigned To | => alostale | ||
2012-02-20 10:39 | alostale | Modules | => Core | ||
2012-02-20 10:39 | alostale | File Added: Selection_031.png | |||
2012-02-20 10:40 | alostale | File Added: Selection_032.png | |||
2012-02-20 10:40 | alostale | File Added: test.html | |||
2012-02-20 10:42 | hgbot | Checkin | |||
2012-02-20 10:42 | hgbot | Note Added: 0045258 | |||
2012-02-20 10:42 | hgbot | Status | new => resolved | ||
2012-02-20 10:42 | hgbot | Resolution | open => fixed | ||
2012-02-20 10:42 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/c3105cd9c9c4ebd834baceababedddf88de4fdb2 [^] | ||
2012-02-20 10:44 | alostale | Note Added: 0045259 | |||
2012-02-21 17:24 | marvintm | Status | resolved => closed | ||
2012-03-02 15:38 | hudsonbot | Checkin | |||
2012-03-02 15:38 | hudsonbot | Note Added: 0045890 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|