[Python] Garbage collection and OS

raffaello barbarossa.platz a gmail.com
Ven 11 Apr 2008 19:24:42 CEST


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'OS alla distruzione dell'oggetto, ma č trattenuta a disposizione del
programma, tanto vale nascondere e mostrare le frame senza ripetere ogni
volta il lavoro di inizializzazione.

2008/4/11, enrico franchi <enrico.franchi a gmail.com>:
>
> On Fri, Apr 11, 2008 at 4:38 PM, raffaello <barbarossa.platz a gmail.com>
> 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?
>
>
> 1. Since this is an italian mailing list, Italian or Python should be
> preferred (writing prose in Python is quite hard, though).
> 2. It is not true that the behaviour you described is part of
> *Python*. However, as far as I know this was (and may be as well) the
> behaviour of the interpreter. This is a reasonable behaviour.
>
>
>
> --
> -enrico
> _______________________________________________
> Python mailing list
> Python a lists.python.it
> http://lists.python.it/mailman/listinfo/python
>
-------------- parte successiva --------------
Un allegato HTML č stato rimosso...
URL: http://lists.python.it/pipermail/python/attachments/20080411/35463a78/attachment.htm 


Maggiori informazioni sulla lista Python