-Xms1024m -Xmx2048m is enough.