MilesWeb
Leading Web Hosting Provider in India Since 2012.
Award-winning Web Hosting Company
Everything that you need to build, host and manage a website is available at just 99/mo

Fatal error: Allowed memory size of xxxx bytes exhausted (tried to allocate xx bytes)

WordPress is a free open source blogging tool. When posting a article OR uploading a image in wordpress, you might receive this error.

Fatal error: Allowed memory size of xxxx bytes exhausted (tried to allocate xx bytes)

This means the script which is being executed is out of php memory & needs more memory to be allocated. You will have to increase the below parameters by performing the changes in php.ini OR .htaccess file.

max_execution_time = 300 – Maximum execution time of each script, in seconds.
max_input_time = 600 – Maximum amount of time each script may spend parsing request data.
memory_limit = 64M – Maximum amount of memory a script may consume.

Change the values as above and you won’t face any issues. You can make the changes your self with our cPanel shared hosting plans.

Leave a Reply

Your email address will not be published. Required fields are marked *