CodeIgniter Forums

Full Version: ini_set('memory_limit', '32M') inside index.php
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[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');

El Forum

[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

El Forum

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