OnPoint Plugins

  • Plugins
    • Advanced Sidebar Menu
    • Go Live Update Urls
  • About
    • Services
    • Showcase
  • Blog
  • Contact
  • Support
  • Log In
← Back to support

Fatal error: Allowed memory size on particular site

Resolved

Requested: 4 years and 11 months ago

Hi just bought your plugin but it is throwing errors for me. When I run it is says “Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 28672 bytes) in /var/www/vhosts/petards.com/httpdocs/wp-includes/wp-db.php on line 1924”

I’ve increased memory to 3000M everywhere and validated it has worked.

also if I turn off “Posts, Pages, Custom Post Types” and just do the other tables I get these errors:
http://www.fingodev.co.uk/petards-error.txt

Are you able to help please? This is urgent for the client so any help greatly aprpeciaetd.

Plugin: Go Live Update Urls

  1. OnPoint Plugins

    4 years and 11 months ago

    I have released a new version 5.0.3 just now of the basic plugin which allows you to override the memory limit using the WP_MEMORY_LIMIT constant in your wp-config.php

    Example:

    define( ‘WP_MEMORY_LIMIT’, ‘512M’ );

    You will now be able to set this to whatever is necessary for the queries to complete.

  2. luke

    4 years and 11 months ago

    Thanks for jumping on it so quickly, I actually added
    define( ‘WP_MEMORY_LIMIT’, ‘3000M’ );
     
    into the config file and it was using 3000M but didn’t work.
     
    I actually found a workaround in the end. The only solution I could find was to add this line just before the error
     
    ini_set(‘memory_limit’, ‘-1’);
     
    Seemed to run then.
     
    Best regards,

New Response Cancel reply

You must be logged in to respond. Only PRO members are allowed to respond to support requests.

© 2023 · WordPress Development · Terms Of Service · Privacy Policy · Cookie Policy · Log in

  • Plugins
  • Blog
  • Contact