JohnLee168 commented on issue #13265: MXNet C++Interface reasoning leads to CPU 
memory leak
URL: 
https://github.com/apache/incubator-mxnet/issues/13265#issuecomment-455010021
 
 
   > I found the same issue. Every time I do reshape first and Free the 
reshaped handle. However, mem usage increased very quickly. My mxnet version is 
1.2.1rc1, built with mkldnn. The issue both appeared in mac os and ubuntu. 
@chinakook If drop reshape, must call MXPredCreate every time before do infer. 
Would there be a performance issue? Or it seems that i could prepare a few 
fixed size models for dynamic input.
   
   I have the same issue, I just use MXPredCreate and MXPredFree everytime, but 
still got cpu and gpu memory leak. it is slow but still leaks memory.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to