In Terracotta-OSS/terracotta-core#654 a defect was introduced that failed to append the -XX:MaxDirectMemorySize properly to JVM options.
One way of preventing this from happening again is to have a single test making sure the server allows to allocate more than the off heap default of a JVM.