Apr 30, 2012
tom

php: Does memory_limit setting influence running time / speed?

Question

If I increase php memory_limit could that increase the speed of a process?

Or if there is more memory allowed than needed the extra resource will not be used by the system to increase speed of the current process?

Asked by giorgio79

Answer

No, it will not improve the performance. This is just a limit on the maximum allowed memory consumption of a php script. If your script tries to exceed this limit, you will get an error.

Answered by Khaled

No related posts.

Leave a comment