1、普通 android 打包
/Users/xingchong/Documents/engine/cocos2d-x-3.15.1/tools/cocos2d-console/bin/cocos compile -p android -m debug —compile-script 0 —-ap android-26
/Users/xingchong/Documents/engine/cocos2d-x-3.15.1/tools/cocos2d-console/bin/cocos compile -p android -m debug —compile-script 0 —-ap android-26
2、安装 linux java jdk
yum install -y java-1.8.0-openjdk.x86_64
yum install -y java-1.8.0-openjdk-devel.x86_64
3、dump jvm 内存
jmap -dump:format=b,file=jvmdemp/s1302_20190826_1328.dump 23683
导出后用 MAT 分析
4、查看端口占用情况
netstat -tunlp | grep 端口号