Should help with memory inflation.
This commit is contained in:
parent
a30aaba1d3
commit
8af080abb0
1 changed files with 3 additions and 0 deletions
|
@ -55,6 +55,9 @@ export class AppEvents {
|
|||
app.exit()
|
||||
}
|
||||
|
||||
// Try limiting JS memory to 350MB.
|
||||
app.commandLine.appendSwitch('js-flags', '--max-old-space-size=350');
|
||||
|
||||
// Expose GC
|
||||
app.commandLine.appendSwitch('js-flags', '--expose_gc')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue