Even at only 1 byte per block, 256 x 256 x 128 would require 8 MB, and that's just for the map. This would be no problem if you could freely read/write to the SD Card, but if you need to hold it all in RAM... you're already out of memory.