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/forum-20.html)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forum-22.html)
+--- Thread: ini_set('memory_limit', '32M') inside index.php (/thread-44031.html)



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