<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=Windows-1252 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18783"></HEAD>
<BODY style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px"
id=MailContainerBody leftMargin=0 topMargin=0 CanvasTabStop="true"
name="Compose message area">
<DIV><FONT color=#000080 face=Garamond>Not much more information
available. Have a batch file (eg. 'test.bat') with
entries:</FONT></DIV>
<DIV><FONT face=Garamond><FONT color=#000080><FONT color=#000080
face=Garamond></FONT></FONT></FONT> </DIV>
<DIV><FONT color=#000080 face=Garamond>python "program a.py"<BR>python "program
b.py"</FONT></DIV>
<DIV><FONT color=#000080 face=Garamond>python "program c.py"</FONT></DIV>
<DIV><FONT color=#000080 face=Garamond>python "program e.py"</FONT></DIV>
<DIV><FONT color=#000080 face=Garamond>...</FONT></DIV>
<DIV><FONT face=Garamond><FONT color=#000080><FONT color=#000080
face=Garamond></FONT></FONT></FONT> </DIV>
<DIV><FONT color=#000080 face=Garamond>One of the programs (eg. 'program c.py')
fails with a memory error when performing a pickle.dump:</FONT></DIV>
<DIV><FONT face=Garamond><FONT color=#000080><FONT color=#000080
face=Garamond></FONT></FONT></FONT> </DIV>
<DIV><FONT color=#000080 face=Garamond>Traceback (most recent call
last):<BR> ...</FONT></DIV>
<DIV><FONT color=#000080 face=Garamond>File "....py", line 176, in
pickleObject<BR> pickle.dump(self, f,
2)<BR>MemoryError</FONT></DIV>
<DIV><FONT face=Garamond><FONT color=#000080><FONT color=#000080
face=Garamond></FONT></FONT></FONT> </DIV>
<DIV><FONT color=#000080 face=Garamond>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.</FONT></DIV>
<DIV><FONT face=Garamond><FONT color=#000080><FONT color=#000080
face=Garamond></FONT></FONT></FONT> </DIV>
<DIV><FONT color=#000080 face=Garamond>Dinesh</FONT></DIV>
<DIV><FONT face=Garamond><FONT color=#000080><FONT color=#000080
face=Garamond></FONT></FONT> </DIV></FONT>
<DIV><FONT color=#000080 face=Garamond><BR></FONT></DIV>
<DIV style="FONT: 10pt Tahoma; font-color: black"><FONT face=Garamond><FONT
size=3><FONT color=#000080><B>From:</B> </FONT></FONT></FONT><A
title=jeff@dcsoftware.com href="mailto:jeff@dcsoftware.com"><FONT color=#000080
size=3 face=Garamond>Jeff Johnson</FONT></A><FONT color=#000080 size=3
face=Garamond> </FONT></DIV>
<DIV><FONT face=Garamond><FONT color=#000080><B>Sent:</B> Saturday, July 18,
2009 3:24 PM</FONT></FONT></DIV>
<DIV><FONT face=Garamond><FONT color=#000080><B>To:</B> </FONT></FONT><A
title=dineshbvadhia@hotmail.com href="mailto:dineshbvadhia@hotmail.com"><FONT
color=#000080 face=Garamond>Dinesh B Vadhia</FONT></A><FONT color=#000080
face=Garamond> </FONT></DIV>
<DIV><FONT face=Garamond><FONT color=#000080><B>Cc:</B> </FONT></FONT><A
title=tutor@python.org href="mailto:tutor@python.org"><FONT color=#000080
face=Garamond>tutor@python.org</FONT></A><FONT color=#000080 face=Garamond>
</FONT></DIV>
<DIV><FONT face=Garamond><FONT color=#000080><B>Subject:</B> Re: [Tutor] python
interpreter vs bat file</FONT></FONT></DIV>
<DIV><FONT color=#000080 face=Garamond><BR></FONT></DIV>
<DIV><FONT color=#000080 face=Garamond>Need more information. Python works
on Windows as good as anything <BR>else. Maybe even better.<BR><BR>Dinesh
B Vadhia wrote:<BR>> During recent program testing, I ran a few Python
programs from a <BR>> Windows XP batch file which causes a memory error for
one of the <BR>> programs. If I run the same set of programs from the
Python interpreter <BR>> no memory error occurs. Any idea why this
might be?<BR>> <BR>> Dinesh<BR><BR>Jeff<BR><BR>Jeff
Johnson<BR></FONT><A href="mailto:jeff@dcsoftware.com"><FONT color=#000080
face=Garamond>jeff@dcsoftware.com</FONT></A><BR><FONT color=#000080
face=Garamond>Phoenix Python User Group - </FONT><A
href="mailto:sunpiggies@googlegroups.com"><FONT color=#000080
face=Garamond>sunpiggies@googlegroups.com</FONT></A><BR></DIV></BODY></HTML>