0

We have an instance of MySQL 8.4 running on Windows Server 2022. It ran fine for 12 days, but suddenly it is consuming a lot of memory. I've deducted this from the Windows Event log and the MySQL error log.

Example: (MySQL error log) [ERROR] [MY-010934] [Server] Out of memory (Needed 1594376 bytes) and (Windows event log) The following programs consumed the most virtual memory: mysqld.exe (2944) consumed 15530082304 bytes.

Here's the whole MySQL error log: https://pastebin.com/4pcwaDHJ

Anyone who can help me figure out what might be going on, and perhaps tell me if the my.ini-settings are completely wrong?

EDIT: I've run MySQLTuner for Windows, without finding any issue exept 533 joins performed without indexes.

Here's the my.ini-file: https://pastebin.com/4bSbM5Vz

The server is a VM with 24 GB RAM and runs Wordpress (PHP) under IIS. Runs between 5 and 30 sites (WP and some also WooCommerce).

Thanks in advance.

-Espen.

3
  • 2
    This question is similar to: Is it possible to determine MySQL pre-allocated memory footprint?. If you believe it’s different, please edit the question, make it clear how it’s different and/or how the answers on that question are not helpful for your problem.
    – mustaccio
    Commented Aug 31 at 12:13
  • Thanks for the suggestion, but the error log say "Most likely, you have hit a bug...", so I need to find out if this is the case, or if it's my settings.
    – VITSupport
    Commented Sep 2 at 6:50
  • "533 joins performed without indexes" -- in a single query? Or 533 separate queries?
    – Rick James
    Commented Sep 20 at 3:57

1 Answer 1

0

The quick fix is to lower innodb_buffer_pool_size.

A better fix is to add this plugin:WP Index Improvements

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.