MDEV-25341 post-fix. Don't use DiscardVirtualMemory on Windows.
This turns out to be a too expensive call to use for every freed page, especially under global buffer pool mutex protection. Also, the usefulness of proactive shrinking of the buffer pool on Windows this is seems questionable - there is no OOM killer, and the OS will shrink working sets itself.
Showing
Please register or sign in to comment