Please use

    mapArgs ["-genproclimit"] = itostr(nGenProcLimit);