You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/11/14 16:26:25 UTC

[GitHub] chenyujing1234 opened a new issue #13265: MXNet C++Interface reasoning leads to CPU memory leak

chenyujing1234 opened a new issue #13265: MXNet C++Interface reasoning leads to CPU memory leak
URL: https://github.com/apache/incubator-mxnet/issues/13265
 
 
   I am using the c++ interface of mxnet to carry out the reasoning of mtcnn algorithm for face detection.
   Environment: Ubuntu16.04.1 + GPU cuda9.0 + MXNet1.3.0
   I use the interface: MXPredCreate MXPredReshape MXPredForward MXPredFree...
   When 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.
   My process was forced to kill by the system.
   Later, I wrote the program To Test:
   1) If only do MXPredCreate, then MXPredFree, and MXPredCreate gives different width and height.
   After 100 thousand cycles, memory will increase by 1G
   2) 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.
   Do 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.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services