Alan Burlison writes:
>
> I've managed to get the latest perl to build as a 64 bit (LP64) app
> under Solaris, so the total address space can be > 4Gb, and here to
> prove it is the memory map of a perl interpreter that's allocated an 8Gb
> string:
>
> 23130: /home1/rootal/perl/devel/bin/perl -w z
> 0000000100000000 16K read/exec
> /home1/rootal/perl/devel/bin/perl
> 0000000100102000 8K read/write/exec
> /home1/rootal/perl/devel/bin/perl
> 0000000100104000 3932288K read/write/exec [ heap ]
> 00000001F0124000 3932160K read/write/exec [ heap ]
> 00000002E0124000 1048576K read/write/exec [ heap ]
> FFFFFFFF7E000000 8K read/write/exec [ anon ]
Now please change 32
#define NBUCKETS (32*BUCKETS_PER_POW2 + 1)
to 64, and try this with Perl's malloc. ;-)
Ilya