Knowledge Base Hub

Browse through our helpful how-to guides to get the fastest solutions to your technical issues.

Home  >  Web Hosting FAQ  >  Fatal error: Allowed memory size of xxxx bytes exhausted (tried to allocate xx bytes)
Top Scroll

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

 2 min

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.

For our Knowledge Base visitors only
Get 10% OFF on Hosting
Special Offer!
30
MINS
59
SECS
Claim the discount before it’s too late. Use the coupon code:
STORYSAVER
Note: Copy the coupon code and apply it on checkout.