Skip to content

Commit

Permalink
Memory leak test (still leaks)
Browse files Browse the repository at this point in the history
  • Loading branch information
doreminiature committed Oct 16, 2017
1 parent a842533 commit e7ccde5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ var saveWindowBounds = function () {
fs.writeFile(path.join(userDataPath, 'windowBounds.json'), JSON.stringify(mainWindow.getBounds()))
}
}
app.commandLine.appendSwitch('js-flags', '--max-old-space-size=4096')

app.commandLine.appendSwitch('js-flags', '--max-old-space-size=3096')

function sendIPCToWindow (window, action, data) {
// if there are no windows, create a new one
if (!mainWindow) {
Expand Down

0 comments on commit e7ccde5

Please sign in to comment.