Re: How to free memory ( ie garbage collect) at run time with Python 2.5.1(windows)

2007-08-29 Thread M�ta-MCI \(MVP\)
Hi! I've send the soft. But, I have no news ; good news? @+ Michel Claveau -- http://mail.python.org/mailman/listinfo/python-list

Re: How to free memory ( ie garbage collect) at run time with Python 2.5.1(windows)

2007-08-28 Thread Bruno Desthuilliers
Alex Martelli a écrit : > rfv-370 <[EMAIL PROTECTED]> wrote: (snip) >> So how can I force Python to clean the memory and free the memory that >> is not used? > > On Windows, with Python 2.5, I don't know of a good approach (on Linux > and other Unix-like systems I've used a strategy based on fork

Re: How to free memory ( ie garbage collect) at run time with Python 2.5.1(windows)

2007-08-28 Thread Francesco Guerrieri
On 8/27/07, Peter Otten <[EMAIL PROTECTED]> wrote: > Peter Otten wrote: > > > Alex Martelli wrote: > > > >> Integer objects that are once generated are kept around in a "free list" > >> against the probability that they might be needed again in the future (a > > > > Python 2.5.1 (r251:54863, May 2

Re: How to free memory ( ie garbage collect) at run time with Python 2.5.1(windows)

2007-08-27 Thread M�ta-MCI \(MVP\)
Aïe! gmail said : "illegal attachment" (because .exe?) I will try to send a zipped-file... @+ Michel Claveau -- http://mail.python.org/mailman/listinfo/python-list

Re: How to free memory ( ie garbage collect) at run time with Python 2.5.1(windows)

2007-08-27 Thread M�ta-MCI \(MVP\)
Re! Sended by direct (private) e-mail @+ Michel Claveau -- http://mail.python.org/mailman/listinfo/python-list

Re: How to free memory ( ie garbage collect) at run time with Python 2.5.1(windows)

2007-08-27 Thread Peter Otten
Peter Otten wrote: > Alex Martelli wrote: > >> Integer objects that are once generated are kept around in a "free list" >> against the probability that they might be needed again in the future (a > > Python 2.5.1 (r251:54863, May 2 2007, 16:56:35) > [GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2

Re: How to free memory ( ie garbage collect) at run time with Python 2.5.1(windows)

2007-08-27 Thread Peter Otten
Alex Martelli wrote: > Integer objects that are once generated are kept around in a "free list" > against the probability that they might be needed again in the future (a Python 2.5.1 (r251:54863, May 2 2007, 16:56:35) [GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2 Type "help", "copyright", "cred

Re: How to free memory ( ie garbage collect) at run time with Python 2.5.1(windows)

2007-08-27 Thread Marc 'BlackJack' Rintsch
On Mon, 27 Aug 2007 07:18:26 -0700, rfv-370 wrote: > have made the following small test: > > Before starting my test my UsedPhysicalMemory(PF): 555Mb > tf=range(0,1000)PF: 710Mb ( so 155Mb for my List) tf=[0,1,2,3,4,5] PF: 672Mb (Why? Why the remaining 117Mb is

Re: How to free memory ( ie garbage collect) at run time with Python 2.5.1(windows)

2007-08-27 Thread MC
Hi! For windows, I had a soft for this (reduce_memory.exe). Sorry, it's not write with Python. If you want, I will give a URL for download it. -- @-salutations Michel Claveau -- http://mail.python.org/mailman/listinfo/python-list

Re: How to free memory ( ie garbage collect) at run time with Python 2.5.1(windows)

2007-08-27 Thread Alex Martelli
rfv-370 <[EMAIL PROTECTED]> wrote: > have made the following small test: > > Before starting my test my UsedPhysicalMemory(PF): 555Mb > > >>>tf=range(0,1000)PF: 710Mb ( so 155Mb for my List) > >>>tf=[0,1,2,3,4,5] PF: 672Mb (Why? Why the remaining 117Mb is > >>>not freed?) del

How to free memory ( ie garbage collect) at run time with Python 2.5.1(windows)

2007-08-27 Thread rfv-370
have made the following small test: Before starting my test my UsedPhysicalMemory(PF): 555Mb >>>tf=range(0,1000)PF: 710Mb ( so 155Mb for my List) >>> tf=[0,1,2,3,4,5] PF: 672Mb (Why? Why the remaining 117Mb is not >>> freed?) >>> del tfPF: 672Mb (u