- It means that the memory used by the PHP script exceeded the value of the memory_limit configuration option. Note, this may or may not agree with what the operating system thinks the memory usage of the script is at the time of the error.
- X gives you the value of the memory_limit configuration option. You can also assume that the server has at least enough virtual memory to handle the limit, but that’s about it.
- Y is the size of the excessive memory that finally caused the error.
We strongly recommend you to contact your hosting provider and ask them to fix the issue for you.
There are two methods to solve this problem:
If you have access to your PHP.ini file, change the line in PHP.ini If your line shows 16M try 32M:
memory_limit = 32M ; Maximum amount of memory a script may consume (32MB)
If you don’t have access to PHP.ini try adding this to an .htaccess file:
php_value memory_limit 32M