Oh dear, I see Kent already posted that linked. Haha.

On 5/6/06, Liam Clarke <[EMAIL PROTECTED]> wrote:
> There's a specific Python gotcha involving memory allocation and
> pymalloc, that'll manifest with large amounts of integers.
>
> http://evanjones.ca/python-memory.html
>
> And, according to that article, it's as Kent said, fixed in 2.5 :)
>
> Regards,
>
> Liam Clarke
>
> On 5/5/06, Alan Gauld <[EMAIL PROTECTED]> wrote:
> > > realised that Python doesn't release memory back to the OS - someone
> > > else
> >
> > That's not at all unusual. In fact in most Unices no program ever
> > releases
> > memory to the OS - one reason you should be very careful when writing
> > daemon processes! One advantage of this approach is that it speeds up
> > memory allocation when the memory needs to be reused by the
> > application
> > since its already there waiting to be used. It also acts as a
> > resilience
> > feature by ensuring that running programs don;t get all their memory
> > stolen by some new startup app that grabs all thats available. The
> > reasoning being that its better to have a program crash early than
> > late...
> >
> > Alan G
> >
> >
> >
> > _______________________________________________
> > Tutor maillist  -  Tutor@python.org
> > http://mail.python.org/mailman/listinfo/tutor
> >
>
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to