Hi

Thanks for response.  Tried this both in IDE and DOS window including under 
pdb.  No docstrings used at present.  -i option won't help either as the 
machine generally reboots - python reports no problems at all.

The reason I think it is memory is that the amount of memory available to 
the programme is the only variable - I'm using two identical 
hardware/software environments apart from this.  Neither machine ever 
crashes on anything else.  The only extraordinary thing about the programme 
(apart from performance) is the huge amount of dynamic data it uses.

Thanks anyway

Phil

----- Original Message ----- 
From: "Alan Gauld" <[EMAIL PROTECTED]>
To: "Philip Smith" <[EMAIL PROTECTED]>; <tutor@python.org>
Sent: Thursday, May 04, 2006 11:48 PM
Subject: Re: [Tutor] Memory Management etc


>> I use Activestate Python (2.4.3) in a Windows 32 bit environment.
>>
>> I have a problem with a large programme that uses a lot of memory
>> (numerous large arrays which are dynamically extended).
>> I keep getting unpredictable crashes (on a machine with 1/2 GB memory)
>> whereas on my laptop (1 GB memory) it seems OK.
>
> How are you running it?
> Double clicjk in explorer?
> From within the IDE?
> or using
>
> C:\> python foo.py
>
> If the latter try using the -i option (and if you use a lot of 
> docstrings -OO)
>
> Otherwise without seeing the code its hard to say, but it doesn't
> sound like memory probnlems to me - that should just make it
> run slowly in virtual memory.
>
> HTH,
>
> Alan G.
>
>
> 


_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to