Skip to content

Commit

Permalink
be exact about 4gb
Browse files Browse the repository at this point in the history
  • Loading branch information
spalger committed Sep 30, 2020
1 parent 5766350 commit 83e36f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/cluster/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export class Worker extends EventEmitter {
this.processBinder = new BinderFor(process);

this.env = {
NODE_OPTIONS: process.env.NODE_OPTIONS || '--max-old-space-size=4000',
NODE_OPTIONS: process.env.NODE_OPTIONS || '--max-old-space-size=4096',
kbnWorkerType: this.type,
kbnWorkerArgv: JSON.stringify([...(opts.baseArgv || baseArgv), ...(opts.argv || [])]),
};
Expand Down

0 comments on commit 83e36f4

Please sign in to comment.