The constructors for Array, FloatArray, ByteArray, etc take a 'size' parameter of type Int
To allow full use of the memory addressing power of 64bit operating systems shouldn’t the type be Long?
Amazon’s memory-optimized EC2 instances have ~244 GB. On such machines a size parameter of Int just doesn’t cut it .