Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Py_Finalize

Reply
Thread Tools

Py_Finalize

 
 
Pablo Yabo
Guest
Posts: n/a
 
      02-20-2004
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



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Py_Finalize ERROR! zaley Python 2 02-19-2008 07:08 PM
problem with multiple Py_Initialize/Py_Finalize calls Andrew Trevorrow Python 0 03-07-2006 03:03 AM
RE: interpreter Py_Initialize/Py_Finalize mem leak? Roman Suzi Python 0 01-10-2005 08:28 AM
interpreter Py_Initialize/Py_Finalize mem leak? Roman Suzi Python 0 01-08-2005 07:33 PM
Py_Finalize() for Python 2.3 on Win32 causes exception Kari Hallfast Python 2 10-23-2003 04:44 PM



Advertisments