WordPress Fatal error: Allowed memory size of {N} bytes exhausted (tried to allocate {N} bytes)

The default allocated memory to any WordPress install can vary on your settings either at system level or at wordpress level.

When you get this kind of error, that means that your wordpress may no longer work with memory that’s allocated to it.

The only option would be to increase it.

There are multiple ways of doing it, but let me show your the easiest one

Open your wp-config.php file

If you have a line something similar to this

Then you will have to edit the above line and change 64M to say 256M

Basically what we are doing is to allow WordPress to use upto 256 MB system memory. Now if your system’s memory + cache doesn’t allow this expansion, you will need to add more memory to your server else you may potentially get other errors such as segmentation fault etc

I hope this helps

VN:R_U [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)
VN:R_U [1.9.22_1171]
Rating: 0 (from 0 votes)

Leave a Reply