Bug #116555 | RAM usage of centos7 is very high but can't control where it comes from | ||
---|---|---|---|
Submitted: | 5 Nov 2024 11:02 | Modified: | 5 Nov 2024 11:49 |
Reporter: | thi dang van | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Memcached | Severity: | S5 (Performance) |
Version: | 8.0.31 | OS: | CentOS (7) |
Assigned to: | CPU Architecture: | x86 |
[5 Nov 2024 11:02]
thi dang van
[5 Nov 2024 11:49]
MySQL Verification Team
Hi Mr. van, Thank you for your bug report. However, what you are reporting is not MySQL bug. It is a feature of the Linux operating system, that it leaves all memory attached to the process that uses most of the memory. In that way when MySQL does a free(), malloc library keeps that memory attached to the process , so that for next malloc() it does not have to ask kernel for the memory. You can easily reduce the memory by writing a small C program that would calloc() more memory then what is available, but do keep in mind that this would slow MySQL doesn. Not a bug.