in reply to Numeric limits in perl

Unless I calculated this wrong, that's 72,681,840,000 elements. I'm not sure how big your elements need to be, but even if they are 1 bit in size, you'll need about 9 GB of swap space just for the data. Since there is additional overhead, esp in perl, you'll probably need many times that much swap.

If you can get away with a sparse array, do that (left as an excersize for a monk with too much time on their hands :-). Otherwise I'd suggest you rethink trying to store this in memory (whether you use perl or something else like C).