php has a configurable limit on how much memory it will consume. Your script required more memory. You could increase the limit, but if you don't know why you need so much memory sometimes, you might not want to do that. You may have a bug, or maybe just some poorly written code.
If it happened once, it can happen again. You should find what caused it. php told you the file and line.
32mb of is a fair bit of memory for a PHP script. Are you doing something heavy?
If so, you'll probably need to increase the memory allocation in your php.ini file (if you have access to it).
If you're not doing a heavy task there may be something wrong with your script that it uses so much memory. You could try profiling it with Xdebug to identify a problem.
Bookmarks