{"action":"created","issue":{"url":"https://api.github.com/repos/apache/incubator-mxnet/issues/13265","repository_url":"https://api.github.com/repos/apache/incubator-mxnet","labels_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/13265/labels{/name}","comments_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/13265/comments","events_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/13265/events","html_url":"https://github.com/apache/incubator-mxnet/issues/13265","id":380779299,"node_id":"MDU6SXNzdWUzODA3NzkyOTk=","number":13265,"title":"MXNet C++Interface reasoning leads to CPU memory leak","user":{"login":"chenyujing1234","id":20765860,"node_id":"MDQ6VXNlcjIwNzY1ODYw","avatar_url":"https://avatars2.githubusercontent.com/u/20765860?v=4","gravatar_id":"","url":"https://api.github.com/users/chenyujing1234","html_url":"https://github.com/chenyujing1234","followers_url":"https://api.github.com/users/chenyujing1234/followers","following_url":"https://api.github.com/users/chenyujing1234/following{/other_user}","gists_url":"https://api.github.com/users/chenyujing1234/gists{/gist_id}","starred_url":"https://api.github.com/users/chenyujing1234/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenyujing1234/subscriptions","organizations_url":"https://api.github.com/users/chenyujing1234/orgs","repos_url":"https://api.github.com/users/chenyujing1234/repos","events_url":"https://api.github.com/users/chenyujing1234/events{/privacy}","received_events_url":"https://api.github.com/users/chenyujing1234/received_events","type":"User","site_admin":false},"labels":[{"id":206159502,"node_id":"MDU6TGFiZWwyMDYxNTk1MDI=","url":"https://api.github.com/repos/apache/incubator-mxnet/labels/Bug","name":"Bug","color":"fc2929","default":false},{"id":919645457,"node_id":"MDU6TGFiZWw5MTk2NDU0NTc=","url":"https://api.github.com/repos/apache/incubator-mxnet/labels/C%20API","name":"C API","color":"0052cc","default":false},{"id":764928544,"node_id":"MDU6TGFiZWw3NjQ5Mjg1NDQ=","url":"https://api.github.com/repos/apache/incubator-mxnet/labels/Memory","name":"Memory","color":"fbca04","default":false},{"id":794466360,"node_id":"MDU6TGFiZWw3OTQ0NjYzNjA=","url":"https://api.github.com/repos/apache/incubator-mxnet/labels/Pending%20Requester%20Info","name":"Pending Requester Info","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-11-14T16:26:24Z","updated_at":"2018-11-16T06:30:19Z","closed_at":null,"author_association":"NONE","body":"I am using the c++ interface of mxnet to carry out the reasoning of mtcnn algorithm for face detection.\r\nEnvironment: Ubuntu16.04.1 + GPU cuda9.0 + MXNet1.3.0\r\nI use the interface: MXPredCreate MXPredReshape MXPredForward MXPredFree...\r\nWhen I used a lot of pictures for stress testing (running for a long time), I found that my process occupied more and more CPU memory, and eventually it occupied all the memory.\r\nMy process was forced to kill by the system.\r\nLater, I wrote the program To Test:\r\n1) If only do MXPredCreate, then MXPredFree, and MXPredCreate gives different width and height.\r\nAfter 100 thousand cycles, memory will increase by 1G\r\n2) If you do MXPredCreate, and then MXPredReshape to change the width and height, so that the continuous cycle, found that memory leaks very quickly, less than half an hour to leak 4G.\r\nDo you want to invite MXNet's main developers to find this problem? Please track it down for me. It has been bothering me for almost a week."},"comment":{"url":"https://api.github.com/repos/apache/incubator-mxnet/issues/comments/439295874","html_url":"https://github.com/apache/incubator-mxnet/issues/13265#issuecomment-439295874","issue_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/13265","id":439295874,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTI5NTg3NA==","user":{"login":"chinakook","id":5417628,"node_id":"MDQ6VXNlcjU0MTc2Mjg=","avatar_url":"https://avatars1.githubusercontent.com/u/5417628?v=4","gravatar_id":"","url":"https://api.github.com/users/chinakook","html_url":"https://github.com/chinakook","followers_url":"https://api.github.com/users/chinakook/followers","following_url":"https://api.github.com/users/chinakook/following{/other_user}","gists_url":"https://api.github.com/users/chinakook/gists{/gist_id}","starred_url":"https://api.github.com/users/chinakook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chinakook/subscriptions","organizations_url":"https://api.github.com/users/chinakook/orgs","repos_url":"https://api.github.com/users/chinakook/repos","events_url":"https://api.github.com/users/chinakook/events{/privacy}","received_events_url":"https://api.github.com/users/chinakook/received_events","type":"User","site_admin":false},"created_at":"2018-11-16T06:30:19Z","updated_at":"2018-11-16T06:30:19Z","author_association":"CONTRIBUTOR","body":"Are you using a mxnet version that contain MKL-DNN?"}}
{"actor":{"display_login":"chinakook"}}