in reply to Re: perl memory use question
in thread perl memory use question
For fun, I tried running your program on ASP (version 5.8.8, Binary build 819), and got a software exception. That's not to say it's anything with your program of course, I'm sure it's just my memory configuration.
I narrowed it down to:
#!perl/bin/perl use strict; use warnings; $|=1; my ($list1); print "Making list1\n"; for (0 .. 93132) { my $head = $list1; $list1 = ["a" x 40,\$head]; }
which does give the error.  When 93132 is changed to 93131, the error does NOT occur.
This is with Windows XP, and 512 MB of RAM.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: perl memory use question
by Joost (Canon) on Jun 03, 2007 at 21:01 UTC |