Large off-heap arrays for Scala and Java