[C++] Deallocating memory at the end of the onnx inference #16499
Unanswered
lorenzobattelli
asked this question in
General
Replies: 1 comment
-
Hello! Try to call |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I found out that, at the end of my python script which uses my c++ DLL in order to make a onnx inference, the memory acquired is not fully release. (Windows 11). I already provided my code some destructors for the Ort::Session* dynamically allocated. But yet, not all the memory is released nonetheless. How can I assure to free all the memory?
Beta Was this translation helpful? Give feedback.
All reactions