Skip to content

Commit

Permalink
Increase max memory to 1536m
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneBab committed May 26, 2024
1 parent 975c456 commit 2614113
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions FreenetInstall_InnoSetup.iss
Original file line number Diff line number Diff line change
Expand Up @@ -393,16 +393,14 @@ begin
sFcpPort := IntToStr(iFcpPort);
MemoryTotalPhys(iMemTotalPhys);
if iMemTotalPhys >= 4096 then
if iMemTotalPhys >= 8192 then
iWrapperJavaMaxMemory := 1536
else if iMemTotalPhys >= 4096 then
iWrapperJavaMaxMemory := 1024
else if iMemTotalPhys >= 2048 then
iWrapperJavaMaxMemory := 512
else if iMemTotalPhys >= 1024 then
iWrapperJavaMaxMemory := 256
else if iMemTotalPhys >= 512 then
iWrapperJavaMaxMemory := 192
else
iWrapperJavaMaxMemory := 128;
iWrapperJavaMaxMemory := 256;
sWrapperJavaMaxMemory := InttoStr(iWrapperJavaMaxMemory);
Expand Down

0 comments on commit 2614113

Please sign in to comment.