Support » Plugin: Query Monitor » Long running PHP script and “Allowed memory size of * exhausted”

  • Resolved j2fb



    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?


Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.