Thursday, 4 January 2018

Anyway to programmatically increase memory limit?

I cant find any info if its possible to programmatically increase the memory limit on node.My use case is pulling in millions of rows from multiple tables and multiple databases into a single DB. This only needs to be done every once in a while. I'd like to temporarily increase the memory limit for this job then go back to the normal limit after the job completes.As of now I just run with --max_old_space=8192 but that isn't very "elegant".

Submitted January 04, 2018 at 09:32PM by dangerzone2

No comments:

Post a Comment