• We’ve been receiving the following error with different memory values (usually trying to allocate above 1-2GB)

    Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 4124367305 bytes) in /home/bonner6s/public_html/wp-includes/plugin.php on line 978

    We tried increasing the allowed memory size to 128MB, but the issue persists. The site is under construction, so traffic is non-existent. Also, it holds just a few recipe posts and just 3 plugins including Advanced Custom Fields Pro, Contact Form 7 and Osetin Helper. The theme is a popular recipe theme – Neptune by Osetin – which has over 1000 installations. None of the theme customers have reported this issue on their support forum.

Viewing 2 replies - 1 through 2 (of 2 total)
  • 4124367305 bytes is 4GB, which is a lot, to say the least. Something’s very wrong somewhere.

    Start deactivating plugins one by one until the error goes away. If it doesn’t, change the theme.

    With Advanced Custom Fields, did you edit your theme’s templates to add the field data? Try temporarily removing that and see if it helps.

    EDIT: plugin.php doesn’t even have 978 lines in the latest version. Try updating WordPress. If the admin isn’t working because of this issue, try a manual update: https://codex.www.ads-software.com/Updating_WordPress#Manual_Update

    • This reply was modified 7 years, 11 months ago by Jacob Peattie.
    • This reply was modified 7 years, 11 months ago by Jacob Peattie.
    • This reply was modified 7 years, 11 months ago by Jacob Peattie.
    Thread Starter archieophobia

    (@archieophobia)

    Thanks Jacob for responding with your thoughts. The large size of the memory allocation is what took us by surprise as well.

    We have tried deactivating the ACF & Osetin plugins as well as switching themes and found that the site was stable thereafter. But when we contacted the development team behind the theme/plugins they were baffled as well. The theme is being used by over a 1000 customers and none have reported this issue. Hence it seems to be a conflict between the theme/plugin and the WordPress installation or server settings. We are considering switching to a different host.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Allowed memory size exhausted’ is closed to new replies.