Should we also set `-Xms512m` to avoid resizing (but probably means a slightly slower startup time)?