fix memory limit and remove jre option