if IsComponentSelected('memory\low') then
begin
SetIniString('srep', 'Memory', '25%-768m', ExpandConstant('{tmp}\cls.ini'));
SetIniString('lolz', 'MaxThreadsUsage', '25%', ExpandConstant('{tmp}\cls.ini'));
SetIniString('lolz', 'MaxMemoryUsage', '25%-10m', ExpandConstant('{tmp}\cls.ini'));
end;
if IsComponentSelected('memory\mid') then
begin
SetIniString('srep', 'Memory', '50%-768m', ExpandConstant('{tmp}\cls.ini'));
SetIniString('lolz', 'MaxThreadsUsage', '50%', ExpandConstant('{tmp}\cls.ini'));
SetIniString('lolz', 'MaxMemoryUsage', '50%-10m', ExpandConstant('{tmp}\cls.ini'));
end;
if IsComponentSelected('memory\high') then
begin
SetIniString('srep', 'Memory', '75%-768m', ExpandConstant('{tmp}\cls.ini'));
SetIniString('lolz', 'MaxThreadsUsage', '75%', ExpandConstant('{tmp}\cls.ini'));
SetIniString('lolz', 'MaxMemoryUsage', '75%-10m', ExpandConstant('{tmp}\cls.ini'));
end;