Change default xmx for the sample template in case people don't change it later. Fixes #1.

Ideally, people should change this according to the instance size. But for now keep 512mb as the bare minimum.