ENG-5702.  Change heapmax to take integer or full -Xmx for input