use 512M for java apps