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 2019/03/14 21:56:27 UTC

[GitHub] [incubator-mxnet] leleamol commented on issue #13437: Memory leak in c++ api

leleamol commented on issue #13437: Memory leak in c++ api
URL: https://github.com/apache/incubator-mxnet/issues/13437#issuecomment-473080764
 
 
   @aravindhv10 
   I was able to run your program.cpp under valgrind.  I did not notice any memory leak in "Backward()" call.
   I also tried to monitor the RSS consumption and it was very steady after the initial epochs.
   The RSS consumption also went down after invoking "MXNotifyShutdown()".
   
   There was recent PR merged to fix the potential memory leak https://github.com/apache/incubator-mxnet/pull/14223/files#diff-1857b9d275cb36ebeafadf72a278d09aR81
   
   Can you please try running the test again?
   
   I did notice that the Optimizer object ("adam") created in program.cpp is not getting freed.  But that is one time allocation and does not increase overtime.
   
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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