in reply to Variable stack size in Perl.

Perl memory size is only limited by your amount of RAM and virtual memory. If it exceeds RAM size the program will run slower, because it will do disk accesses. If memory usage grows even more, it will eventually give an 'out of memory' error and stop.

Replies are listed 'Best First'.
Re**2: Variable stack size in Perl.
by charnos (Friar) on Nov 11, 2002 at 15:10 UTC
    On an interesting additive side note, Perl also allows for the use of last-ditch memory should that last case ever happen. From the Camel's mouth: "However, if your perl was compiled to take advantage of $^M, you may use it as an emergency memory pool. If your Perl is compiled with -DPERL_EMERGENCY_SBRK and uses Perl's malloc then...", etc. It isn't used much, and probably shouldn't be (especially by a novice user)..but it's there.