diff options
author | Scott Ullrich <sullrich@pfsense.homeunix.net> | 2009-07-09 16:11:16 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.homeunix.net> | 2009-07-09 16:11:16 -0400 |
commit | 8ecc250afb511448d68007e6f72a78c0716b57cd (patch) | |
tree | 60c75c1be2ef701b0ba372f83cfe45e61e388519 /etc/inc | |
parent | 4b141b9abf7af9c30297781fc8f2d338127011f8 (diff) | |
download | pfsense-8ecc250afb511448d68007e6f72a78c0716b57cd.zip pfsense-8ecc250afb511448d68007e6f72a78c0716b57cd.tar.gz |
Set the memory limit to 128M
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/config.inc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc index e002282..cd1f0bb 100644 --- a/etc/inc/config.inc +++ b/etc/inc/config.inc @@ -51,6 +51,11 @@ if($config_inc_loaded == true) else $config_inc_loaded = true; +// Set the memory limit to 128M. When someone has something like 500+ tunnels +// the parser needs quite a bit of ram. Do not remove this line unless you +// know what you are doing. If in doubt, check with dev@ _/FIRST/_! +ini_set("memory_limit","128M"); + /* include globals from notices.inc /utility/XML parser files */ require_once("notices.inc"); if($g['booting']) echo "."; @@ -1309,4 +1314,4 @@ function set_device_perms() { if($g['booting']) echo "."; $config = parse_config(); -?> +?>
\ No newline at end of file |