From 2fba5c03f372627e15435e3ec96a8026463a4410 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 28 Feb 2010 02:01:46 +0000 Subject: [PATCH] Try to change memory limit dynamically --- htdocs/main.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 285e2b8c109..8b6cf2e0e0c 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -29,6 +29,8 @@ * \version $Id$ */ +@ini_set('memory_limit', '48M'); // This may be useless if memory is hard limited by your PHP + // For optionnal tuning. Enabled if environment variable DOL_TUNING is defined. // A call first. Is the equivalent function dol_microtime_float not yet loaded. $micro_start_time=0;