Forums

Upgrade from 3.0.1 to 3.2.1 gets "out of memory" error, WP has 192mb of memory (8 posts)

  1. dains
    Member
    Posted 10 months ago #

    Per the suggestions here on the forums, I've bumped PHP to 256mb and WP to 192mb. However, I still have the error and the allocated memory figure did not change at all, so this does not look related to available memory. Does anyone have any idea as to what else may cause WP to hit some sort of allocation limit? I even bumped PHP's max upload size, and nothing changed either, so it's not that.

    FYI, I am the server admin of the VPS so I can get any information and change any setting. Here's the technical stuff:

    Error message:
    Downloading update from http://wordpress.org/wordpress-3.2.1.zip…

    Fatal error: Out of memory (allocated 24117248) (tried to allocate 3981531 bytes) in /home/mydomain/public_html/wp-includes/class-http.php on line 1408

    Current platform stats:
    * Mem: WP 192M (def) Usage 6% 14.46M of PHP Limit 256M
    *

    Server: OS Linux Software Apache Version 32Bit

    * System: PHP 5.2.11 Active Plugins 0 Zend 2.2.0
    * Database: SQL 5.0.92 Build 5.0.92-community Charset utf8

    * WordPress: VER 3.0.1 Lang Loc en_US
    * Max: Post 8M Upload 32M Input 60s Exec 60s
    * Debug: State 0 Display 1 Log 0 Script 0 Deprecated 0
    *

    SQL Uptime: 144 days, 1 hours, 18 minutes, 47 seconds
    *

    Default Theme twentyten (since wp-3.0)
    * Allow DB Repair 0 (since wp-2.9)
    * Auto-Save 0 Interval 60 seconds (since wp-2.5)
    * WP (Hyper - Super - W3 Total) Cache 0 (since wp-2.6)
    * Magpie RSS Cache 0 Age 0 seconds (since wp-1.5)
    * Simplepie RSS Cache 0 Age 0 seconds (since wp-2.8)
    * Post Revisions 1 (since wp-2.6)
    * Trash 0 Empty 30 days (since wp-2.9)

  2. t-p
    Member
    Posted 10 months ago #

    have you discussed the issue with your hostinng provider

  3. dains
    Member
    Posted 10 months ago #

    Hi, as I said above, I am the server admin of the VPS, so I have all of the powers of the hosting provider with regards to configuration.

    Do you have any specific ideas about what I might look for?

  4. t-p
    Member
    Posted 10 months ago #

    to troubleshoot, you may try:

    -deactivating ALL plugins temporarily to narrow down the problem. If the problem goes away, activate them individually (one-by-one) to find the problematic plugin.

    If you don't have access to your admin area, try deactivating them manually via FTP or phpMyAdmin.

    -switching to the default theme (that came with your version of WP) for a moment by renaming your current theme's folder in wp-content/themes. The idea is to force WordPress to fall back to the default theme to rule out any theme-specific issue.

    If you don't have access to your admin area, then access your server via FTP or SFTP or whatever file management application your host provides.

  5. dains
    Member
    Posted 10 months ago #

    Thanks, I should have mentioned that I disabled all plugins and switched to the default theme before trying to upgrade. It's my server and sites so no workarounds are necessary.

    In short, I did the cleanest possible process that an experienced WP admin could do, and the error remains. The critical bit that catches my eye is that the "allocated" figure does not change when I change the PHP and WP memory limits. Wherever WP gets that number is where I'd say the problem lies.

  6. Paul Nash Childminder
    Member
    Posted 10 months ago #

    Cannot help, other than to say that I am getting the same problem. Recently I have done two other updates to 3.2.1 without getting this problem. On those occasions I did not disable plugins and I didn't switch to a default theme because I was already using it - I'm new to WP.

    Is there anyone actually in WP that we can contact?

  7. mightiest
    Member
    Posted 10 months ago #

    Try use plugin called Memory Bump. Activate this plugin then try to upgrade your WP again. After you activate this plugin, you can deactivate and then delete it. This plugin only need activate once.

    Is there anyone actually in WP that we can contact?

    I'm not sure.

  8. dains
    Member
    Posted 10 months ago #

    So basically Memory Bump just puts WP at 256mb memory for the upgrade. I'll try 256mb and see if it works. That's a massive amount of memory considering that the default is 32mb single/64m multisite though, and the fact that the allocated amount doesn't change looks like some sort of WP issue to me.

    @Paul - there's pretty much no "WP help desk" other than this forum, to my knowledge.

Reply

You must log in to post.

About this Topic

Tags

No tags yet.