in reply to Re^2: memory not freed after perl exits. Solaris.
in thread memory not freed after perl exits. Solaris.
Thanks for the change to quotes. That has made it get further.
But the result is then the same as before (when I saved it in a file and ran it from there)
I can run up to **29, but not **30 or **31
**29 takes about 4 seconds.
$ perl -e '$x="x" x 2**31' panic: string extend at -e line 1. $ perl -e '$x="x" x 2**30' panic: string extend at -e line 1. $ perl -e '$x="x" x **29' $
So why can't I run **30 or **31?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: memory not freed after perl exits. Solaris.
by BrowserUk (Patriarch) on Nov 25, 2010 at 10:42 UTC | |
|
Re^4: memory not freed after perl exits. Solaris.
by marto (Cardinal) on Nov 25, 2010 at 12:48 UTC |