<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content=text/html;charset=iso-8859-1>
<META content="MSHTML 6.00.6000.16674" name=GENERATOR></HEAD>
<BODY id=MailContainerBody
style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-TOP: 15px"
bgColor=#ffffff leftMargin=0 topMargin=0 CanvasTabStop="true"
name="Compose message area">
<DIV><FONT face=Garamond>There is no thrashing of disk as I have > 2gb RAM
and I'm not keeping the file contents in memory. One line is read at a
time, some simple string processing and then writing out the modified
line.</FONT></DIV>
<DIV><FONT face=Garamond></FONT> </DIV>
<DIV style="FONT: 10pt Tahoma">
<DIV><FONT face=Garamond size=3></FONT><FONT face=Garamond
size=3></FONT><BR></DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=kent37@tds.net
href="mailto:kent37@tds.net">Kent Johnson</A> </DIV>
<DIV><B>Sent:</B> Sunday, June 22, 2008 5:39 PM</DIV>
<DIV><B>To:</B> <A title=dineshbvadhia@hotmail.com
href="mailto:dineshbvadhia@hotmail.com">Dinesh B Vadhia</A> </DIV>
<DIV><B>Cc:</B> <A title=tutor@python.org
href="mailto:tutor@python.org">tutor@python.org</A> </DIV>
<DIV><B>Subject:</B> Re: [Tutor] endless processing through for
loop</DIV></DIV></DIV>
<DIV><BR></DIV>On Sun, Jun 22, 2008 at 8:13 PM, Dinesh B Vadhia<BR><<A
href="mailto:dineshbvadhia@hotmail.com">dineshbvadhia@hotmail.com</A>>
wrote:<BR>> That's it. Very simple but after i reaches about 550,000
the program begins<BR>> to crawl. As an example, the loops to 550,000
takes about an hour. From<BR>> 550,000 to 580,000 takes an additional 4
hours.<BR>><BR>> Any ideas about what could be going on?<BR><BR>What
happens to memory use? Does it start to thrash the disk? Are you<BR>somehow
keeping the file contents in memory for all the files
you<BR>read?<BR><BR>Kent<BR></BODY></HTML>