Re: [Pythonmac-SIG] Problem with PyObjC memory usage ~

2011-02-15 Thread Ronald Oussoren
On 15 Feb, 2011, at 11:54, Virgil Dupras wrote: > > On 2011-02-15, at 11:34 AM, Fur Yao wrote: > >> >> It works fine. But I found it will couse a lot of memory usage( without >> Python about 20M and with Python it goes up to 50M or higher). >> >> I want to know how to release the unnecessar

Re: [Pythonmac-SIG] Problem with PyObjC memory usage ~

2011-02-15 Thread Ronald Oussoren
On 15 Feb, 2011, at 11:34, Fur Yao wrote: > Hi, Everyone~ > > I have develop a soft using Python to do something. > > So create a header .h and implement it with Python. > > Then I use Py_Initialize and PyRun_SimpleFile > to load the necessary module by running 'main.py'. > > It works fine

Re: [Pythonmac-SIG] Problem with PyObjC memory usage ~

2011-02-15 Thread Virgil Dupras
On 2011-02-15, at 11:34 AM, Fur Yao wrote: > > It works fine. But I found it will couse a lot of memory usage( without > Python about 20M and with Python it goes up to 50M or higher). > > I want to know how to release the unnecessary memory usage~ When importing modules like "Foundation" or