Title: Fatal Error &#8211; PHP Memory Limit Exhausted
Last modified: November 10, 2022

---

# Fatal Error – PHP Memory Limit Exhausted

 *  [jackitk](https://wordpress.org/support/users/jackitk/)
 * (@jackitk)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-php-memory-limit-exhausted/)
 * I’m having an issue where as soon as I download the WP 6.1 update and then try
   and sign into WP dashboard completely crashes and gives the below error:
 * Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate
   20480 bytes) in /home/u411397733/domains/belleearth.co.uk/public_html/wp-includes/
   class-wp-query.php on line 593
    There has been a critical error on this website.
   Please check your site admin email inbox for instructions.
 * Learn more about troubleshooting WordPress.
 * I have taken all steps to try and resolve – PHP memory limit has been upped to
   max in htaccess and in wpconfig files but still not working. I have deactivated
   all plugins on the site but I still can’t login the dashboard and still get this
   error every time. Is this something anyone else has come up against? The site
   still shows live on the front end but it is not possible to sign into the dashboard.
   Themes and plugins are all up to date too.
    -  This topic was modified 3 years, 7 months ago by [jackitk](https://wordpress.org/support/users/jackitk/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-php-memory-limit-exhausted%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Benedikt Ledl](https://wordpress.org/support/users/benniledl/)
 * (@benniledl)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-php-memory-limit-exhausted/#post-16185704)
 * There seems to be some loop causing a very high load on the php memory
    try to
   replace all wordpress core files: upload and overwrite folders from a functioning
   wordpress installation /wp-admin/ /wp-includes/
 * and .php files in the site root (make sure to keep wp-config.php!!)`
 *  [Esteview](https://wordpress.org/support/users/esteview/)
 * (@esteview)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-php-memory-limit-exhausted/#post-16186402)
 * Is your website in a shared hosting? If the answer is yes, then contact with 
   your hosting company.
 *  Thread Starter [jackitk](https://wordpress.org/support/users/jackitk/)
 * (@jackitk)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-php-memory-limit-exhausted/#post-16186408)
 * It is, I have, and they said it was an issue with the new WP update and to post
   the issue here lol. Appreciate the reply though.
 *  [Esteview](https://wordpress.org/support/users/esteview/)
 * (@esteview)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-php-memory-limit-exhausted/#post-16186439)
 * Your WP and they.
 * There is a memory limit on shared hosting packages. Around 250MB-1GB.
 * Probably your wp’s db + php are using too much memory.
 * Find another hosting company or buy bigger package.
 * Or create HTML website.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Fatal Error – PHP Memory Limit Exhausted’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [Esteview](https://wordpress.org/support/users/esteview/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-php-memory-limit-exhausted/#post-16186439)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
