I use, for example, node –max-old-space-size=10240
when I need a moderate boost in RAM for a large data process.
I seem to hit some limit if I try to go to, say, 128GB, and the limit seems to be surprisingly lower than that.
How can I increase the limit to much larger values like this? I'd love to be able to do it without building node and v8... but if I have to, that's ok. I'm not a C guy (which I assume both are written in), but I get by with a little help from my friends.
Any tips?
Update
At the moment I broke it out into parallel processes where I could. I found this blog post that talks about building node and v8 with a higher memory limit, but it seems to be out of date (at least, I couldn't follow the instructions in recent builds of either).
I'm still interested in a process for getting a high-mem node. I'll keep looking for a good solution. If I find one, maybe I'll fork it as node-himem or something, since it seems like a pretty small change (architecturally) and wouldn't generally be incompatible with upstream stuff. Any further help is appreciated!