Really, really big arrays and OutOfMemoryError()

Old question of mine covering similar ground (but not well discoverable from the title):

Why do these two functions benchmark the same?