-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Closed
Labels
Milestone
Description
mkl多线程下存在内存泄露问题。
尝试将mklml换成 2019.3版本,依旧存在泄露情况,切换成openblas则无问题。
需要intel跟进。
复现文件整理:
复现方法:
unzip mul.zip
cd mul
编译,参考https://www.paddlepaddle.org.cn/documentation/docs/zh/advanced_guide/inference_deployment/inference/native_infer.html#a-name-c-c-a
sh run_impl.sh fluid_inference_install_dir mul_demo
nohup ./build/mul_demo --model_dir=mul_model --thread_num=3 --num=-1 &
监视内存
nohup sh mem_use.sh &
利用top实时查看
top
运行1小时后,kill掉进程
查看memlog.txt 内存变化
cpu型号:2620、2650

