Py_Finalize

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Pablo Yabo

    Py_Finalize

    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



Working...