Open
[Bug-Report|缺陷反馈]:PyPTO launch kernel出现内存泄漏 #3994
WuuuugAdd on 2 days ago
2 days ago Assign LordOfMysteries as responsible person
LordOfMysteries
2 days ago Comments:
2 days ago Comments:
处理中


2 days ago Added label: Machine
2 days ago Associated pull request
Describe the current behavior / 问题描述 (Mandatory / 必填)
PyPTO launch kernel出现内存泄漏,定位问题来源于machine在每次调用DeviceLauncher::RunPreSync都会去执行AclRtCreateEventExWithFlag申请资源,但是从来不做释放,导致每次调用出现少量内存泄漏
Environment / 环境信息 (Mandatory / 必填)
A3
Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)
重复跑engram算子观察host内存占用
Describe the expected behavior / 预期结果 (Mandatory / 必填)
多次调用host内存占用不会发生持续增长
Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
调用600万次算子,host内存占用增长10G多:

Special notes for this issue/备注 (Optional / 选填)