Increasing MaxDirectMemorySize to 3G lets the tests pass.