Posted by Alfred Molon on 07/20/07 23:21
I'm using a php script on a shared server to generate photo galleries on
a site. The script was today blocked by the system, with the error
message that the allowed memory size of 40MB was exhausted. I had to ask
the host to increase this limit. They did it and the script now works
again.
However they said that they cannot allocate more than 65MB per PHP
script and it is possible that in the future, when my site grows further
I will again hit the limit. Is there a way to control how much memory a
PHP script is using? How to reduce the amount of memory needed?
--
Alfred Molon
Navigation:
[Reply to this message]
|