View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
11357 | Feature requests | Other | public | 2016-06-08 14:27 | 2016-06-13 00:10 |
Reporter | hermann | Assigned To | |||
Priority | none | Severity | @50@ | ||
Status | new | Resolution | open | ||
Summary | 11357: Memory exhaustion when selecting large page-sizes in long lists | ||||
Description | I have a survey that has a lot of participants (3429). When I display the list of those participants ("Survey participants" -> "Display participants") and scroll to the end of the list I can set "rows per page". On the server I found (after some tinkering and increasing error_reporting) this in the Apache error-log: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4218881 bytes) in .../limesurvey250plus/framework/zii/widgets/grid/CGridColumn.php on line 155, referer: https://.../xxx/index.php/admin/tokens/sa/browse/surveyid/yyyyyyy The line of the error changes but is always somewhere in a grid-file. | ||||
Steps To Reproduce |
| ||||
Tags | No tags attached. | ||||
Bug heat | 4 | ||||
Story point estimate | |||||
Users affected % | |||||
We can noyt fix it : you ask a very big array with light memory. |
|
I am aware, that you can't fix the underlying problem. For me as a server administrator some kind of message in the web-server logs are helpful. I suggest something in the line of what I did:
You are registering CApplication::end as a shutdown function in CApplication::run. So it gets called even on a fatal error and you can "handle" those errors... |
|
OK, Thne more a "beter log error" system. Did you try with Yii error log system ? I think we must improve it. But it's more a Feature request, not a bug. See the onEndRequest for the fix :) |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2016-06-08 14:27 | hermann | New Issue | |
2016-06-08 14:35 | hermann | Issue Monitored: hermann | |
2016-06-08 15:16 | DenisChenu | Note Added: 39328 | |
2016-06-09 12:32 | hermann | Note Added: 39342 | |
2016-06-09 12:32 | hermann | Note Edited: 39342 | |
2016-06-09 12:41 | DenisChenu | Note Added: 39344 | |
2016-06-09 12:58 | c_schmitz | Project | Bug reports => Feature requests |
2016-06-13 00:10 | c_schmitz | Issue End Monitor: hermann |