Fixed segfault when using compressed oops

This will work for users with heap sizes of smaller or equal than 32 GB,
beyond that users have to append -XX:-UseCompressedOops to start the
server without segfaulting until a fix has been found