Converting maxmemory setting to float, not int.