Removed Xmx jam arg if present.

Fixed typo with log warning.