C++ demo memory release problem #7973
Comments
same problem, exe can't exit normally and cpu gpu memory didn't release. Operating System: Windows 7 x64 |
@lx75249 |
@piiswrong This is the raw API demo.. not the demo in c++ package. |
@lx75249 MXNotifyShutdown() can't resolve it yet |
I create a std::thread to run the demo, the memory release a big part, but left a small part before exit exe but thread end. int f()
} int main(int argc, char* argv[]) { |
Win10 is ok. |
what interface you call?@kimivital |
I run the example file(image-classification-predict.cc) with other model. |
I run it on win10, memory leak in GPU or CPU mode. |
@apache/mxnet-committers: This issue has been inactive for the past 90 days. It has no label and needs triage. For general "how-to" questions, our user forum (and Chinese version) is a good place to get help. |
@junxigauss is this still an issue on mxnet v1.2? |
I' got the same issue on Arch Linux in master branch, but calling MXNotifyShutdown resolve it. |
I solve it, by modify nnvm cpu gpu memory manager coder. |
@junxigauss - It would be very helpful for all users if you can do a PR for the code change? Or, Can you please provide more details on the fix you made? |
@junxigauss Can you elaborate what have you done to solve it? |
@mxnet-label-bot add [Pending Requester Info] |
@junxigauss Requesting an explanation on the solution, it would help all users , if they run across a similar issue. |
@junxigauss : Would you be able to share the solution? As mentioned above, this could be very useful for others as well. |
@leleamol : Would this still be an issue? |
This issue is not related to C++ Front End API. Removing the C++ Label. |
@mxnet-label-bot remove [C++] |
@mxnet-label-bot add [C API] |
@leleamol is it still an issue? |
This doesn't seem to an issue anymore. I would recommend closing this issue. |
@junxigauss Please feel free to reopen this issue if problem persist. Close it for now |
For bugs or installation issues, please provide the following information.
The more information you provide, the more likely people will be able to help you.
Environment info
Operating System: windows
Compiler:VS2015
MXNet version:0.9.5
Steps to reproduce
or if you are running standard examples, please provide the commands you have run that lead to the error.
2.MXPredFree(pred_hnd) don't release memory in GPU or CPU mode
The text was updated successfully, but these errors were encountered: