http://qs321.pair.com?node_id=354029


in reply to How to burn 100 megabytes in one line and still get the wrong answer

C:\WINNT>perl -e "print 00x888888888;" Out of memory!

Amazing, it returns really quickly. Anyone care to speculate why this dies in a split second? Is the memory management engine really that smart? I didn't think Perl had any self-imposed ulimits or anything like that, and the Windows/Linux behavior is identical. You'd think it would slurp all available memory, but it looks like it doesn't even get close to trying.