hot fix! change number type of maxOffHeapMemorySize input
fix related tests
add benchmark
stash