add -XX:MaxDirectMemorySize=256m vm param to start.sh