This commit is contained in:
red-prig 2023-01-25 23:08:48 +03:00
parent d8e95a3785
commit cb96613478
1 changed files with 6 additions and 0 deletions

View File

@ -234,6 +234,12 @@ begin
if (err<>0) then
begin
Writeln(StdErr,'_VirtualReserve(',HexStr(FOffset),',',HexStr(ASize,16),'):',err);
if (err=ERROR_COMMITMENT_LIMIT) then
begin
Writeln(StdErr,'Please increase the size of the paging file in your'+#13#10+
' OS settings or make it automatic,'+#13#10+
' you need at least:',(ASize/(1024*1024)):0:2,'MB');
end;
Exit;
end;
end;