Not much more information available.  Have a batch file (eg. 'test.bat') with 
entries:

python "program a.py"
python "program b.py"
python "program c.py"
python "program e.py"
...

One of the programs (eg. 'program c.py') fails with a memory error when 
performing a pickle.dump:

Traceback (most recent call last):
  ...
File "....py", line 176, in pickleObject
    pickle.dump(self, f, 2)
MemoryError

When the programs are run in the same order from the Python interpreter there 
are no memory errors.  This has happened before and it seems odd behavior.

Dinesh



From: Jeff Johnson 
Sent: Saturday, July 18, 2009 3:24 PM
To: Dinesh B Vadhia 
Cc: tutor@python.org 
Subject: Re: [Tutor] python interpreter vs bat file


Need more information.  Python works on Windows as good as anything 
else.  Maybe even better.

Dinesh B Vadhia wrote:
> During recent program testing, I ran a few Python programs from a 
> Windows XP batch file which causes a memory error for one of the 
> programs.  If I run the same set of programs from the Python interpreter 
> no memory error occurs.  Any idea why this might be?
>  
> Dinesh

Jeff

Jeff Johnson
j...@dcsoftware.com
Phoenix Python User Group - sunpigg...@googlegroups.com
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to