Title: fatal error memory limit
Last modified: January 3, 2023

---

# fatal error memory limit

 *  [rusdie](https://wordpress.org/support/users/rusdie/)
 * (@rusdie)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-memory-limit-2/)
 * Hi,
    My Wp admin got an error fatal error, out of memory. I already set memory_limit
   or PHP_memory_limit to 256/512/1024 in wp-config, php.ini and htaccess files,
   but no luck.
 * These error only if i want to edit post/pages. I tried a lot of tutorial for 
   increasing memory limit, but still error
 * Please help…
 * Regards

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

 *  [Jason LeMahieu (MadtownLems)](https://wordpress.org/support/users/madtownlems/)
 * (@madtownlems)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-memory-limit-2/#post-16338759)
 * I would start by installing Query Monitor plugin ([https://wordpress.org/plugins/query-monitor/](https://wordpress.org/plugins/query-monitor/))
   to help you see what your memory limit actually is.
 * If you truly successfully set it to 1024M and you’re still getting Out of Memory
   errors, it almost certainly means you have some other issue causing some kind
   of infinite loop that will eventually eat through any size of memory.
 * To try to debug that, your best bet would be trying to switch themes and seeing
   if the problem persists, then deactivating plugins 1 by 1 and seeing if the problem
   persists, etc.
 * Good luck!
 *  Thread Starter [rusdie](https://wordpress.org/support/users/rusdie/)
 * (@rusdie)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-memory-limit-2/#post-16339917)
 * Thanks for your reply,
    I just installed query monitor, it says:
 * **Peak Memory Usage**
    80,131,552 bytes (76.4 MB) 7.5% of 1,024 MB WordPress 
   limit 7.5% of 1,024 MB server limit
 * I think the memory is still sufficient. I also change themes and disable all 
   the plugins, but no luck.
 * Regars
 *  Thread Starter [rusdie](https://wordpress.org/support/users/rusdie/)
 * (@rusdie)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-memory-limit-2/#post-16402016)
 * I’m frustrated with this error. Increasing the memory limit has no effect. Then
   I just installed clean WordPress, it’s the same, error memory limit.
 * Please help…

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

The topic ‘fatal error memory limit’ is closed to new replies.

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)
 * [memory_limit](https://wordpress.org/support/topic-tag/memory_limit/)

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

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
