* Set memory_limit to 256 MB in PHP pages

This commit is contained in:
Manuel Kasper 2009-10-29 19:06:57 +00:00
parent c8ce962aed
commit 9b5f139779
2 changed files with 7 additions and 1 deletions

5
README
View File

@ -5,7 +5,10 @@ by Manuel Kasper, Monzoon Networks AG <mkasper@monzoon.net>
Changes
-------
xxxx Allow NetFlow aggregation version 0 as well as 2 to make NetFlow
xxxx Set memory_limit to 256 MB in PHP pages (suggested by Steve Colam
<steve@colam.co.uk>).
Allow NetFlow aggregation version 0 as well as 2 to make NetFlow
exports from Juniper routers work (suggested by Thomas Mangin
<thomas.mangin@exa-networks.co.uk>).

View File

@ -7,6 +7,9 @@
require_once('config.inc');
/* make sure we have enough memory, as some pages can be quite memory intensive */
ini_set("memory_limit", "256M");
/* note: you might want to put the data from asinfo.txt into an SQL
database to avoid having to read the whole file all the time */
function getASInfo($asnum) {