Py_Finalize

P

Pablo Yabo

Hi,
I embeded Python in a C++ application to support some scripts. I start it
using Py_Initialize() and after using running the scripts I call
Py_Finalize(). The problem that I experienced is that the memory usage of
the process doesn't decrease after the Py_Finalize().
If I call again Py_Initialize() and then load some modules, the memory usage
increase, but it never decrease when calling Py_Finalize().
How can I do a complete cleanup of the python heap?

Thanks on advanced,

Pablo Yabo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,533
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top