View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
07007 | Bug reports | Other | public | 2012-12-03 21:43 | 2012-12-11 14:57 |
Reporter | seanrife | Assigned To | seanrife | ||
Priority | urgent | Severity | block | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.00+ | ||||
Fixed in Version | 2.00+ | ||||
Summary | 07007: Fatal error when exporting large survey results to SPSS/R | ||||
Description | Getting the following message when trying to export data: Fatal error: Allowed memory size of 201326592 bytes exhausted (tried to allocate 24 bytes) in /home/sr_lime2/surveys.lyceum.ws/ls/framework/db/CDbDataReader.php on line 122 This occurs when any attempt is made to export results to SPSS or R from a survey with a large number of responses. | ||||
Steps To Reproduce |
| ||||
Additional Information | See also 06952. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 121127 | ||||
I will donate to the project if issue is resolved | Yes | ||||
Browser | |||||
Database type & version | MySQL 5.1.63 | ||||
Server OS (if known) | Debian 6.0 | ||||
Webserver software & version (if known) | Apache 2.2 | ||||
PHP Version | 5.2.17 | ||||
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=10688 |
|
@seanrife: Can you test the fix please? Timeout can still occur but this should fix memory problems |
|
Thanks mdekker... yes, it's in good shape now. Just successfully exported 2167 responses in a survey with 800+ questions. Should we think about altering set_time_limit based on the number of records exported in order to avoid a timeout? |
|
I want to make spss/r work like the other exports first and then fix the timeout for all exports at once. |
|
Working now. Creating new issue for making SPSS/R exports work like everything else. Will tackle this next. |
|
2.00+ build 121207 released. |
|
Fix committed to 2.1 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=10877 |
|
LimeSurvey: master 17dcfc58 2012-12-04 10:23 Details Diff |
Fixed 07007: Fatal error when exporting large survey results to SPSS/R dev: also fixed layout problem on R export |
Affected Issues 07007 |
|
mod - application/controllers/admin/export.php | Diff File | ||
mod - application/helpers/export_helper.php | Diff File | ||
mod - styles/blobblueish/adminstyle.css | Diff File | ||
mod - styles/gartergrey/adminstyle.css | Diff File | ||
mod - styles/gringegreen/adminstyle.css | Diff File | ||
LimeSurvey: 2.1 dbe3fffd 2012-12-11 14:52 Details Diff |
Fixed 07007: Fatal error when exporting large survey results to SPSS/R dev: also fixed layout problem on R export |
Affected Issues 07007 |
|
mod - application/controllers/admin/export.php | Diff File | ||
mod - application/helpers/export_helper.php | Diff File | ||
mod - styles/blobblueish/adminstyle.css | Diff File | ||
mod - styles/gartergrey/adminstyle.css | Diff File | ||
mod - styles/gringegreen/adminstyle.css | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-12-03 21:43 | seanrife | New Issue | |
2012-12-03 21:43 | seanrife | File Added: limesurvey_survey_917871.lss | |
2012-12-04 00:12 | c_schmitz | Assigned To | => seanrife |
2012-12-04 00:12 | c_schmitz | Status | new => assigned |
2012-12-04 10:23 | mdekker | Changeset attached | => LimeSurvey master 17dcfc58 |
2012-12-04 10:23 | mdekker | Note Added: 22838 | |
2012-12-04 10:23 | mdekker | Assigned To | seanrife => mdekker |
2012-12-04 10:23 | mdekker | Resolution | open => fixed |
2012-12-04 10:26 | mdekker | Note Added: 22839 | |
2012-12-04 11:42 | mdekker | Assigned To | mdekker => seanrife |
2012-12-04 11:42 | mdekker | Status | assigned => feedback |
2012-12-04 16:37 | seanrife | Note Added: 22883 | |
2012-12-04 16:37 | seanrife | Status | feedback => assigned |
2012-12-04 18:15 | mdekker | Note Added: 22884 | |
2012-12-04 21:57 | seanrife | Note Added: 22886 | |
2012-12-04 21:57 | seanrife | Status | assigned => resolved |
2012-12-04 21:57 | seanrife | Fixed in Version | => 2.00+ |
2012-12-07 09:58 | c_schmitz | Note Added: 23014 | |
2012-12-07 09:58 | c_schmitz | Status | resolved => closed |
2012-12-11 14:57 | mdekker | Changeset attached | => LimeSurvey 2.1 dbe3fffd |
2012-12-11 14:57 | mdekker | Note Added: 23135 |