Re: Some thoughts on garbage collection

2006-01-24 Thread Stephen Kellett
In message <[EMAIL PROTECTED]>, Frank Millman <[EMAIL PROTECTED]> writes >> You could then also categorize this by type, e.g. If you want a nice GUI and no requirement to modify your code Python Memory Validator could be useful. http://www.softwareverify.com Stephen -- Stephen Kellett Object M

Re: Some thoughts on garbage collection

2006-01-23 Thread Frank Millman
Martin v. Löwis wrote: > Frank Millman wrote: > > In principle I agree. My concern was that I might have inadvertently > > done something wrong (e.g. left a reference dangling) which would > > prevent gc from removing all objects which I wanted to be removed. > > Depends on what it really is that

Re: Some thoughts on garbage collection

2006-01-23 Thread Martin v. Löwis
Frank Millman wrote: > In principle I agree. My concern was that I might have inadvertently > done something wrong (e.g. left a reference dangling) which would > prevent gc from removing all objects which I wanted to be removed. Depends on what it really is that you want to know. If you want to kn

Re: Some thoughts on garbage collection

2006-01-22 Thread Frank Millman
Paul Rubin wrote: > "Frank Millman" <[EMAIL PROTECTED]> writes: > > Is this a sensible approach, or are there easier ways to achieve this? > > In general you're supposed to just let gc do its thing. Doing your > own storage management defeats the purpose of gc. In principle I agree. My concern w

Re: Some thoughts on garbage collection

2006-01-22 Thread Paul Rubin
"Frank Millman" <[EMAIL PROTECTED]> writes: > Is this a sensible approach, or are there easier ways to achieve this? In general you're supposed to just let gc do its thing. Doing your own storage management defeats the purpose of gc. At most I'd say check for leaks by running some native extensi

Some thoughts on garbage collection

2006-01-22 Thread Frank Millman
Hi all I don't know whether this will be of interest, but I have just carried out an exercise that I found useful, so I thought I would share it. I am writing a multi-user business app, with a multi-threaded server program to handle client connections. The server should 'serve forever'. Each clie