Set default max memory for nodes to maxint.
Print default maximum memory as "inf" rather than the value of maxint.