WordPress Hack – Out of Memory Error

I keep getting a message while developing a website which says there has been a fatal error and the process cannot complete because out of memory or memory exhausted on line 238 and yada yada yada…

The simplest way to fix it is to go to your File Manager in Hosting, find a file called default constants in wp-includes folder and change the value which is set at 40M to 128M.

Here is a video explaining it better.