Ok so this has been driving me nuts, I’m getting an out of memory error in the Magneto backend when I click into admin backend -> System-> Configuration -> Payment Methods. Everything else works without any issues.
This is the error I’m getting
Out of memory (allocated 39059456) (tried to allocate 2 bytes) in /home/pendulum/public_html/lib/Varien/Simplexml/Element.php on line 84
Fatal error: Out of memory (allocated 40108032) (tried to allocate 501761 bytes) in /home/###/public_html/app/design/adminhtml/default/default/template/widget/form.phtml on line 29
It seems to change every so often, and it’s a different line a lot of the time which really makes it confusing!
My server has 6Gb ram, an SSD and 2 CPU’s running WHM with a few other low traffic sites on it.
I have investigated multiple different ways of increasing my memory limits and they appear to have been set:
- php.ini file memory set to 520M
- .htaccess file memory set to 520M
- index.php also set memory limit in this file to 520M
- phpinfo(); shows memory limit is 520M
and here’s some phpinfo();
PHP Version 5.3.25
Server API CGI/FastCGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/lib
Loaded Configuration File /usr/local/lib/php.ini
*local and master values the same *
So as you can imagine I’m completely out of ideas here now, any Magneto pro’s be able to help me out?