Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/SyncTrayzor/Pages/ViewerViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,10 @@ protected override void OnInitialActivate()
settings.CefCommandLineArgs.Add("disable-cache", "1");
settings.CefCommandLineArgs.Add("disable-extensions", "1");

// SyncTrayzor hosts a single trusted local page. Chromium otherwise keeps a spare renderer
// around, which adds roughly 50 MiB of idle memory without benefiting this single-view app.
Comment on lines +163 to +164
settings.CefCommandLineArgs.Add("renderer-process-limit", "1");

if (configuration.DisableHardwareRendering)
{
settings.CefCommandLineArgs.Add("disable-gpu");
Expand Down Expand Up @@ -531,4 +535,4 @@ public void BrowseFolderPath()
}
}
}
}
}