mac : https://visualvm.github.io/download.html
docker exec -it 容器id bash
top
jmap -histo pid | head -n 10
https://www.cnblogs.com/liuboren/p/15859576.html