• Hi there,

    Just started getting lots of fatal errors reported (like: PHP Fatal error: Out of memory (allocated 39845888) (tried to allocate 32 bytes)…) in my php error log for the /wp-includes/pomo/mo.php and /wp-includes/pomo/streams.php files. I’m using a child theme of Twenty Fourteen (with only minor edits).

    It’s not a memory issue as my memory limit is 1024M.

    I’ve searched the forums and Google but only find how to increase memory limits as a solution. Other info I’ve found says it’s often due to a coding error in the file, rather than a memory limit issue anyway.

    Please can you tell me if this is a core WP file, and if so, is this a bug in the WP version 4.0? OR how to resolve this issue?

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator James Huff

    (@macmanx)

    I doubt it’s a core file causing a memory leak like that.

    Try deactivating all plugins. If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, try switching to the Twenty Fourteen theme to rule-out a theme-specific issue (theme functions can interfere like plugins).

    Thread Starter 5high

    (@5high)

    OK, I was just going back in to do that when I had a php error log alert again, and this time it was heaps of different ones, like this:-

    Out of memory (allocated 38010880) (tried to allocate 154687 bytes) in /wp-content/plugins/dynamic-to-top/dynamic-to-top.php
    + /wp-content/plugins/wp-pagenavi/scb/Widget.php
    + /wp-content/plugins/bulletproof-security/includes/functions.php
    + /wp-settings.php
    + /wp-content/plugins/si-contact-form/includes/class-fscf-process.php
    + /wp-content/plugins/dynamic-to-top/inc/cssmin-v3.0.1.php
    + /wp-content/plugins/bulletproof-security/includes/hud-dismiss-functions.php
    + /wp-content/plugins/dynamic-to-top/inc/cssmin-v3.0.1.php
    + /wp-content/plugins/ubermenu/core/UberMenuWalkerCore.class.php
    + /wp-content/plugins/wordpress-seo/inc/wpseo-functions.php
    + /wp-content/plugins/wordpress-seo/inc/wpseo-functions.php
    + /wp-content/plugins/dynamic-to-top/dynamic-to-top.php

    and with a range of ‘tried to allocate’ between 32 bytes – 491520 bytes!

    So this covers quite a few of my plugins and a wp file, so maybe it’s nothing to do with them in particular, as my theme and these plugins have been fine for a while now.

    Could it be from anything else besides the theme and plugins? is this something I should be worried about?

    Cheers.

    Moderator James Huff

    (@macmanx)

    It could be that the server itself has reached maximum memory, that even though your memory allocation is high, there is simply no more memory available to give you. In other words, the server was over-sold, or someone is hogging the memory.

    The best way to be sure is to still deactivate the plugins and switch the theme.

    If you still the same with no plugins, the default theme, and that 1GB PHP memory limit, it’s definitely the server.

    Thread Starter 5high

    (@5high)

    Thanks for that – I’ll test it out and give feedback soon.

    Moderator James Huff

    (@macmanx)

    You’re welcome!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘fatal error with /wp-includes/pomo/ files’ is closed to new replies.