I have no idea if its related but I too have problems (not the same problem mine reboots) if I try run a loop more than somewhere between 16 million and 17 million times.


I thought it was my 'puter (it's 2 years old now, probably getting creaky in the joints), or OS (Windoze 2K) but I guess it could be PERL.

Anyone else have trouble with loops up in the 20**6  iteration area?

ms


At 03:23 PM 6/7/2004, $Bill Luebkert wrote:

Craig Cardimon wrote:

> I'm using Perl 5.8.3.809 on a machine running Windows XP Professional.
> I'm processing text files of various sizes. The one that is giving me
> problems is 22.5 MB.
>
> I can process this file by itself without incident, but if I process it
> as part of a group using a loop, I get the following error:
>
> 'Perl Command Line Interpreter has encountered a problem and needs to
> close.'
>
> When I click for more information, I get the following:
>
> *****
>
> Error Signature:
>
> AppName: perl.exe     AppVer: 5.8.3.809       ModName: perl58.dll
> ModVer: 5.8.3.809     Offset: 0008698b
>
> *****
>
> One of my co-workers suggested a memory leak. I think I've plugged all
> the possible memory holes, but this file still sinks the script. I am
> using a few arrays, but I re-initialize and undef them after I'm
> finished with them.
>
> Any suggestions would be appreciated.

Strip the code down to a page or so and run it to make sure it fails -
then post the code.

--
,-/- __ _ _ $Bill Luebkert Mailto:[EMAIL PROTECTED]
(_/ / ) // // DBE Collectibles Mailto:[EMAIL PROTECTED]
/ ) /--< o // // Castle of Medieval Myth & Magic http://www.todbe.com/
-/-' /___/_<_</_</_ http://dbecoll.tripod.com/ (My Perl/Lakers stuff)


_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


--- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.700 / Virus Database: 457 - Release Date: 6/6/2004
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.700 / Virus Database: 457 - Release Date: 6/6/2004
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to