• Resolved strummer84

    (@strummer84)


    I have this alert in Query Monitor that I don’t understand:

    Peak memory usage

    22,021,576 bytes (21.0 MB)
    No memory limits. The memory_limit directive in the PHP configuration is set to 0.

    (In Italian: Picco di utilizzo della memoria 22.021.576 byte (21,0 MB)
    Nessun limite di memoria. La direttiva memory_limit nella configurazione PHP è impostata a 0.)


    What does it means and what should I do?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    This means that PHP on your web server is configured without a memory limit, which is unusual and risky. PHP processes are free to consume as much memory on your server as they can until the memory is exhausted (or near enough). This is not necessarily a problem for the day to day running of your site, but if a script has a memory leak it may use all the memory on your server and cause it to crash.

    You should speak to your web host about this.

    Buona fortuna.

    Thread Starter strummer84

    (@strummer84)

    Thank you for the reply. Which is the better memory limit to configure php?

    Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    That’s something you should speak with your host about. 512 MB should be good!

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