Hello all,
I have a small question, when we set the memory_limit for PHP I understand that it will use that integer as the maximum memory allowed for a script to consume.
Does this mean if I set the maximum at 64MB and my script only needs 12MB that it will make use of the full 64MB just because its allowed?
I ask because I notice some of my scripts although make use of 12MB (found out using get_memory_usage) but the httpd process itself is getting near the 64MB mark even though that is the only script running! Btw, I am not having a memory leak issue.
Is it also the case that other process it spawns i.e. CMD will be added to the httpd processes overall memory usage?
Thanks all for any help on clearing this up for me.