• Resolved j2fb

    (@j2fb)


    Hello,

    In our WP Admin, we sometimes need to run a long PHP script that performs many DB queries. Each time we do this with Query Monitor enabled, Query Monitor always crashes our script with the error “Allowed memory size of * exhausted”. The script works fine when Query Monitor is disabled.

    Because of this, currently, we have to disable Query Monitor manually every time before running our script, but is there another way? What can be done? Is there a way to “bypass” query monitor programmatically in our script without disabling the plugin manually?

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Long running PHP script and “Allowed memory size of * exhausted”’ is closed to new replies.