Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0020498 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Openbravo ERP] A. Platform | minor | have not tried | 2012-05-14 18:45 | 2012-05-25 12:12 | |||
| Reporter | shuehner | View Status | public | |||||
| Assigned To | alostale | |||||||
| Priority | high | Resolution | fixed | Fixed in Version | 3.0MP12 | |||
| Status | closed | Fix in branch | Fixed in SCM revision | d4ef642f1e2a | ||||
| Projection | none | ETA | none | Target Version | ||||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | pi | SCM revision | ||||||
| Merge Request Status | ||||||||
| Review Assigned To | ||||||||
| OBNetwork customer | No | |||||||
| Web browser | ||||||||
| Modules | Core | |||||||
| Support ticket | ||||||||
| Regression level | ||||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0020498: With big number of rows in ad_session SqlC somtimes fail with OOM regarding heap-space | |||||||
| Description | With a sufficiently high number of rows in ad_session sometimes compilation fails with an OOM error regarding heap-space when processing the SessionLogin_data.xsql file. Checking it shows that the first method in that file does 'select * from ad_session' without any filters but is never ever called from the erp. As the xsql-file is not public that dummy method should be fixed or just be removed. | |||||||
| Steps To Reproduce | i.e. compile on butler | |||||||
| Proposed Solution | Reorder SqlMethods in that file not require an unused dummy method. Attached patch implements that (only compile tested) | |||||||
| Tags | Performance | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|
Notes |
|
|
(0048669) hgbot (developer) 2012-05-16 08:25 |
Repository: erp/devel/pi Changeset: d4ef642f1e2aea82ef2afa8619f971f00f82272a Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Wed May 16 08:24:37 2012 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/d4ef642f1e2aea82ef2afa8619f971f00f82272a [^] fixed bug 20498: Heap space error in SqlC with big number of rows in ad_session --- M src/org/openbravo/erpCommon/security/SessionLogin_data.xsql --- |
|
(0048670) alostale (viewer) 2012-05-16 08:25 |
Code reviewed and tested on pi@d4ef642f1e2a |
|
(0049142) hudsonbot (viewer) 2012-05-25 12:12 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/5401e185a8b0 [^] Maturity status: Test |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2012-05-14 18:45 | shuehner | New Issue | |
| 2012-05-14 18:45 | shuehner | Assigned To | => alostale |
| 2012-05-14 18:45 | shuehner | File Added: xsql-oom-ad_session.diff | |
| 2012-05-14 18:45 | shuehner | Modules | => Core |
| 2012-05-14 18:45 | shuehner | OBNetwork customer | => No |
| 2012-05-16 08:23 | alostale | Tag Attached: Performance | |
| 2012-05-16 08:25 | hgbot | Checkin | |
| 2012-05-16 08:25 | hgbot | Note Added: 0048669 | |
| 2012-05-16 08:25 | hgbot | Status | new => resolved |
| 2012-05-16 08:25 | hgbot | Resolution | open => fixed |
| 2012-05-16 08:25 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/d4ef642f1e2aea82ef2afa8619f971f00f82272a [^] |
| 2012-05-16 08:25 | alostale | Note Added: 0048670 | |
| 2012-05-16 08:25 | alostale | Status | resolved => closed |
| 2012-05-16 08:25 | alostale | Fixed in Version | => 3.0MP12 |
| 2012-05-25 12:12 | hudsonbot | Checkin | |
| 2012-05-25 12:12 | hudsonbot | Note Added: 0049142 | |
| Copyright © 2000 - 2009 MantisBT Group |