View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
16100Bug reportsImport/Exportpublic2020-12-28 11:32
Reporterrbaier Assigned Tocdorin  
PrioritynoneSeverityminor 
Status closedResolutionno change required 
Product Version3.22.8 
Summary16100: The entry $config['memory_limit'] in config.php does not overwrite the corresponding entry in config-defaults.php
Description

The export of a large number of responses failed with this error message:
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in /opt/ls322.8/framework/db/CDbCommand.php on line 510

The LimeSurvey configuration had these entries:
config.php: $config['memory_limit'] = '512';
config-defaults.php: $config['memory_limit'] = '256';

After encreasing $config['memory_limit in config-defaults.php to '512' the export worked.

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)Version 3.22.8+200309
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMySQL 5.5.62-0ubuntu0.14.04.1-log
Server OS (if known)
Webserver software & version (if known)
PHP Version7.0.7

Users monitoring this issue

There are no users monitoring this issue.

Activities

Mazi

Mazi

2020-04-28 16:17

updater   ~57433

What's the PHP's memory_limit setting at php.ini configuration file?

Usually the server based settigs overrule any application settings

rbaier

rbaier

2020-04-28 16:57

reporter   ~57435

php.ini: memory_limit = 128M
I thought it was the other way round: application specific settings overrule server based settings.

cdorin

cdorin

2020-12-28 11:31

reporter   ~61201

Last edited: 2020-12-28 11:32

The setting has to be done at the "server-level" since in trumps the LS app settings.

Issue History

Date Modified Username Field Change
2020-04-06 09:51 rbaier New Issue
2020-04-28 16:17 Mazi Note Added: 57433
2020-04-28 16:57 rbaier Note Added: 57435
2020-12-28 11:31 cdorin Assigned To => cdorin
2020-12-28 11:31 cdorin Status new => closed
2020-12-28 11:31 cdorin Resolution open => no change required
2020-12-28 11:31 cdorin Note Added: 61201
2020-12-28 11:32 cdorin Note Edited: 61201