• Hello,

    I have random memory saturations, they disappear when I deactivate the plugin.

    [05-Jan-2023 16:10:04 UTC] PHP Fatal error: ?Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /var/www/<vhost>/www/wp-content/plugins/advanced-notification
    s/includes/an-api.php on line 58

    I can see that on that line there’s just a configuration array, so it’s quite tricky to debug.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author yehi

    (@yehi)

    Hi,
    Are you using the plugin’s API?
    How many alerts do you have?
    Does this happen to you in admin or on the site?

    Plugin Author yehi

    (@yehi)

    Hi
    After a comprehensive test, no memory problem was found.
    The add-on uses 750KB of memory (for 10 alerts, each additional alert adds about 2KB on average).
    Probably the problem you describe is due to increased utilization of another component. And a memory exception occurs when this plugin is loaded and that’s why you see the error in one of the plugin’s code lines

    Thread Starter andreacomplus

    (@andreacomplus)

    Thanks for your investigation @yehi , I’ll try to pinpoint this with XDebug, since the stack trace doesn’t help much.

    Plugin Author yehi

    (@yehi)

    Hi,
    Let me know if you find the problem
    I’d love to know if it’s something I can’t help with

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Memory exhausted’ is closed to new replies.