Re: [Python] Garbage collection

2010-03-30 Per discussione Daniele Varrazzo
On Tue, 30 Mar 2010 15:42:34 +0200, Pietro Battiston wrote: > Il giorno mar, 30/03/2010 alle 13.04 +0200, Daniele Varrazzo ha > scritto: >> On Tue, 30 Mar 2010 12:19:58 +0200, Pietro Battiston >> wrote: >> > Salve a tutti, >> > >> > per quel che ne so, in python 2.5 e successivi il garbage coll

Re: [Python] Garbage collection

2010-03-30 Per discussione Pietro Battiston
Il giorno mar, 30/03/2010 alle 13.04 +0200, Daniele Varrazzo ha scritto: > On Tue, 30 Mar 2010 12:19:58 +0200, Pietro Battiston > wrote: > > Salve a tutti, > > > > per quel che ne so, in python 2.5 e successivi il garbage collector > > dovrebbe esistere e funzionare, giusto? > > > > Sapreste sp

Re: [Python] Garbage collection

2010-03-30 Per discussione Daniele Varrazzo
On Tue, 30 Mar 2010 12:19:58 +0200, Pietro Battiston wrote: > Salve a tutti, > > per quel che ne so, in python 2.5 e successivi il garbage collector > dovrebbe esistere e funzionare, giusto? > > Sapreste spiegarmi perché allora, se io faccio un import del seguente > semplice modulo: > > http://

Re: [Python] Garbage collection

2010-03-30 Per discussione Marco Mariani
On 03/30/2010 12:19 PM, Pietro Battiston wrote: > io?), non riesco a capire perché il semplice "del" del riferimento ad un > modulo non mi liberi la memoria... c'è qualche lista dei moduli caricati > o robe del genere? > Prova a toglierlo anche da sys.modules -- This e-mail (and any attachm

[Python] Garbage collection

2010-03-30 Per discussione Pietro Battiston
Salve a tutti, per quel che ne so, in python 2.5 e successivi il garbage collector dovrebbe esistere e funzionare, giusto? Sapreste spiegarmi perché allora, se io faccio un import del seguente semplice modulo: http://bazaar.launchpad.net/~tv-player-team/tv-player/GTK-release-0.3/annotate/head%3A

Re: [Python] Garbage collection and OS

2008-04-14 Per discussione Pietro Battiston
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 raffaello ha scritto: > Ho fatto la prova con un programma dotato di molte finestre. > Aprendole e chiudendole, e controllando l'utilizzo memoria in task > manager, la memoria viene effettivamente restituita, ma solo al 70% > circa. > Comunque grazie d

Re: [Python] Garbage collection and OS

2008-04-14 Per discussione raffaello
Ho fatto la prova con un programma dotato di molte finestre. Aprendole e chiudendole, e controllando l'utilizzo memoria in task manager, la memoria viene effettivamente restituita, ma solo al 70% circa. Comunque grazie dell'aiuto. 2008/4/14, enrico franchi <[EMAIL PROTECTED]>: > > On Sat, Apr 12,

Re: [Python] Garbage collection and OS

2008-04-14 Per discussione enrico franchi
On Sat, Apr 12, 2008 at 8:47 AM, Nicola Larosa <[EMAIL PROTECTED]> wrote: > Era vero fino alla versione 2.4 dell'interprete; dalla 2.5 la memoria non > più usata viene effettivamente restituita al sistema operativo. Bene. TY. -- -enrico ___ Python

Re: [Python] Garbage collection and OS

2008-04-11 Per discussione Nicola Larosa
raffaello wrote: > Is it true that when an object is destroyed in a Python application > the garbage collector does NOT give back the occupied memory to the > Operating System as long as the application is running, but keeps it > at the disposal of the same application? [Switching to Italian langu

Re: [Python] Garbage collection and OS

2008-04-11 Per discussione enrico franchi
On Fri, Apr 11, 2008 at 7:24 PM, raffaello <[EMAIL PROTECTED]> wrote: > Scusami, Enrico, hai ragione. > Cercherò di spiegarmi meglio dicendo cosa voglio ottenere. > Scrivo dei programmi in wx.Python basati su una frame principale e su > numerose frame secondarie destinate a operazioni usate raramen

Re: [Python] Garbage collection and OS

2008-04-11 Per discussione raffaello
Scusami, Enrico, hai ragione. Cercherò di spiegarmi meglio dicendo cosa voglio ottenere. Scrivo dei programmi in wx.Python basati su una frame principale e su numerose frame secondarie destinate a operazioni usate raramente. Se la memoria usata da queste finestre secondarie NON viene restituita all

Re: [Python] Garbage collection and OS

2008-04-11 Per discussione enrico franchi
On Fri, Apr 11, 2008 at 4:38 PM, raffaello <[EMAIL PROTECTED]> wrote: > Is it true that when an object is destroyed in a Python application > the garbage collector does NOT give back the occupied memory to the > Operating System as long as the application is running, but keeps it at the > disposa

[Python] Garbage collection and OS

2008-04-11 Per discussione raffaello
Is it true that when an object is destroyed in a Python application the garbage collector does NOT give back the occupied memory to the Operating System as long as the application is running, but keeps it at the disposal of the same application? ___ Pyth

Re: [Python] Garbage Collection

2007-09-14 Per discussione Lawrence Oluyede
On 9/14/07, Giorgio Zoppi <[EMAIL PROTECTED]> wrote: > Ciao, > e da due anni che non seguo questa ml..buona serata a tutti, > volevo sapere se qualcuno l'aveva visto...dove guardare nel codice di > Python per il Garbage Collection. Dunque, io se dovessi farmi un tuffo nel GC di Python partirei da

[Python] Garbage Collection

2007-09-14 Per discussione Giorgio Zoppi
Ciao, e da due anni che non seguo questa ml..buona serata a tutti, volevo sapere se qualcuno l'aveva visto...dove guardare nel codice di Python per il Garbage Collection. Bye, Jo. ___ Python mailing list Python@lists.python.it http://lists.python.it/mail