NOTE: Numerical arrays (MLDouble, MLUint8) are now backed by direct ByteBuffers. For really BIG arrays the maximum heap size for direct buffers may be modified by -XX:MaxDirectMemorySize= ...