in reply to Perl Tk crashes when mem usage exceeds 4G on Win10

When I increased the 5000000 to 50_000_000, the program happily ate all my 32 GBs of memory and started swapping.

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^2: Perl Tk crashes when mem usage exceeds 4G on Win10
by boleary (Scribe) on Sep 23, 2022 at 15:51 UTC

    on a win10 host??? what does your perl -V output look like?

      On a Linux box :-)

      map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

        Yeah, I had mentioned that it works for me on linux as well :)