Debugging Memory Usage
Instructions for monitoring and analyzing memory allocation to identify leaks or excessive consumption within the server.
Troubleshooting Memory Usage
sudo yum install gperftools
service mariadb stop
systemctl edit mariadb[Service]
Environment="HEAPPROFILE=/tmp/heap-prof-1"
Environment="HEAP_PROFILE_ALLOCATION_INTERVAL=10737418240"
Environment="HEAP_PROFILE_INUSE_INTERVAL=1073741824"
Environment="LD_PRELOAD=/usr/lib64/libtcmalloc.so.4"service mariadb startls -la /tmp/heap-prof-*Memory Leak Overview
Performance Schema
Memleak
Last updated
Was this helpful?

