I’m getting this error about every minute or two in the site error log and I get 500 errors on the admin side of WP when navigating around the site on several occasions. These admin crashes seem to coordinate with these error log entries.
I’m currently working with the host to see if I can get them to raise the allocated memory to 256mb.
[Mon Jun 20 10:34:06 2016] [warn] [client 162.158.223.126] mod_fcgid: stderr: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in /var/www/vhosts/ysnews.com/httpdocs/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/datamapper/package.module.datamapper.php on line 1554
The host tells me he is running 128mb with a swap file, so I am not sure why there would be an exhausted memory with the swap.
I was getting conflicting readings too on what the memory limit was from different plugins. I finally went into php.info and that said 128mb. I figure that is the best place for that.
Any normal way of making a limit to WP memory doesn’t’ seem to work so I wanted to see if I could do it in the plugin itself, it would stay under 128mb.