Fatal error: Out of memory (allocated 30408704)
I’m trying to use the auto upgrade to 3.2.1, and get the following error as soon as the upgrade process starts:
Fatal error: Out of memory (allocated 30408704) (tried to allocate 3981531 bytes) in /homepages/23….
I’ve searched for similar issues and have seen the references to php.ini. I’m hosted in a “Professional Linux” plan with 1and1, and I understand you can put a php.ini file in the various folders, although it only impacts the folder it is installed in and no subfolders. I created one, and put it in the main site folder and the plugins folder. I also added the suggested line to the config file as per these instructions:
“THIS TO BE ENTERED IN THE WP-CONFIG FILE WHICH IS IN THE ROOT OF THE WORDPRESS SETUP:
I ALSO CREATED A PHP.INI WHICH I UPLOADED TO THE PLUGIN FOLDER IN WP-CONTENT:
memory_limit = 128M; Maximum amount of memory a script may consume (64MB)
max_execution_time = 45;
upload_max_filesize = 10M;
post_max_size = 20M; “
I tried again and got the same error and so I have backed these changes out. I am running some plugins – the main one being the WP eStore plugin from HQ Tricks.
Should I disable the plugins before trying auto upgrade?
Could I do a manual upgrade rather than auto?
Is it possible the SQL database needs splitting (that is what 1and1 said even though it is only 3M or so.)
Anything else I am missing about running this with 1and1 – I just noticed that my Global PHP version was “4” which I have just changed to “5” but I’m not 100% sure what that actually does.
The site is operational, so I don’t want to break it.
- The topic ‘Fatal error: Out of memory (allocated 30408704)’ is closed to new replies.