Skip to content

Commit 89bda9d

Browse files
committed
Increase max renderer memory limit
1 parent 94614b5 commit 89bda9d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: src/index.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,10 @@ let server: ChildProcess | null = null;
5858

5959
app.commandLine.appendSwitch('ignore-connections-limit', 'app.httptoolkit.tech');
6060
app.commandLine.appendSwitch('disable-renderer-backgrounding');
61-
app.commandLine.appendSwitch('js-flags', '--expose-gc'); // Expose window.gc in the UI
61+
app.commandLine.appendSwitch('js-flags', [
62+
'--expose-gc', // Expose window.gc in the UI
63+
'--max-old-space-size=16384', // Increase max UI memory, to support very large sessions
64+
].join(' '));
6265

6366
const createWindow = (logStream: WriteStream) => {
6467
// Load the previous window state, falling back to defaults

0 commit comments

Comments
 (0)