Re: [Numpy-discussion] python memory use

2008-05-04 Thread Muhammad Alkarouri
--- Robin <[EMAIL PROTECTED]> wrote: [...] > While investigating this I found this script: > http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/511474 > which does wonders for my code. I was wondering if this function > should be included in Numpy as it seems to provide an important > feature

Re: [Numpy-discussion] python memory use

2008-05-03 Thread Andrew Straw
Robin wrote: > Hi, > > I am starting to push the limits of the available memory and I'd like > to understand a bit better how Python handles memory... > This is why I switched to 64 bit linux and never looked back. > If I try to allocate something too big for the available memory I > often get a

Re: [Numpy-discussion] python memory use

2008-05-03 Thread Christian Heimes
Robin schrieb: > If I try to allocate something too big for the available memory I > often get a MemoryError exception. However, in other situations, > Python memory use continues to grow until the machine falls over. I > was hoping to understand the difference between those cases. From what > I've

[Numpy-discussion] python memory use

2008-05-03 Thread Robin
Hi, I am starting to push the limits of the available memory and I'd like to understand a bit better how Python handles memory... If I try to allocate something too big for the available memory I often get a MemoryError exception. However, in other situations, Python memory use continues to grow