diff --git a/libraries/config.default.php b/libraries/config.default.php index d24c35b682..4a0de3128d 100644 --- a/libraries/config.default.php +++ b/libraries/config.default.php @@ -705,13 +705,13 @@ $cfg['ExecTimeLimit'] = 300; $cfg['SessionSavePath'] = ''; /** - * maximum allocated bytes ('0' for no limit) + * maximum allocated bytes ('-1' for no limit) * this is a string because '16M' is a valid value; we must put here * a string as the default value so that /setup accepts strings * * @global string $cfg['MemoryLimit'] */ -$cfg['MemoryLimit'] = '0'; +$cfg['MemoryLimit'] = '-1'; /** * mark used tables, make possible to show locked tables (since MySQL 3.23.30)