[Tutor] endless processing through for loop

Kent Johnson kent37 at tds.net
Mon Jun 23 02:39:49 CEST 2008


On Sun, Jun 22, 2008 at 8:13 PM, Dinesh B Vadhia
<dineshbvadhia at hotmail.com> wrote:
> That's it.  Very simple but after i reaches about 550,000 the program begins
> to crawl.  As an example, the loops to 550,000 takes about an hour.  From
> 550,000 to 580,000 takes an additional 4 hours.
>
> Any ideas about what could be going on?

What happens to memory use? Does it start to thrash the disk? Are you
somehow keeping the file contents in memory for all the files you
read?

Kent


More information about the Tutor mailing list