From 114d6f00bfcbf39a4aa3daa38af48cbac7b7401c Mon Sep 17 00:00:00 2001 From: Andrew O'Neil Date: Wed, 8 Oct 2008 21:33:07 +0000 Subject: [PATCH] MINOR: Change memory limit to -1 on publishall to stop sapphire running out of memory on unit tests. git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63897 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/CMSMain.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/CMSMain.php b/code/CMSMain.php index 95754cb8..6d16679c 100644 --- a/code/CMSMain.php +++ b/code/CMSMain.php @@ -1174,7 +1174,7 @@ HTML; } function publishall() { - ini_set("memory_limit","100M"); + ini_set("memory_limit", -1); ini_set('max_execution_time', 300); $response = "";