CodeIgniter Forums
ini_set('memory_limit', '32M') inside index.php - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22)
+--- Thread: ini_set('memory_limit', '32M') inside index.php (/showthread.php?tid=44031)



ini_set('memory_limit', '32M') inside index.php - El Forum - 07-31-2011

[eluser]blasto333[/eluser]
If my application requires a certain amount of memory, is it a bad idea to set this inside of index.php?

ini_set('memory_limit', '32M');


ini_set('memory_limit', '32M') inside index.php - El Forum - 07-31-2011

[eluser]Zaher Ghaibeh[/eluser]
i think it will be much more better to use it when you want it ..
for example if you want it when backing up a big database files or something like that ..

not using it all the time


ini_set('memory_limit', '32M') inside index.php - El Forum - 07-31-2011

[eluser]blasto333[/eluser]
Ok that makes sense