Say you have a machine that has 200GB+ RAM, is it possible to store that much data inside an application?
I'm running a test that creates a nested object like the following:
{
id1: {
val1: 123,
val2: 456,
v...
},
id2: {
val1: 234,
val2: 567,
...
}
...
}
I'll run it using --max-old-space-size=200000
and it runs fine until the object is about 50GB in size, then crashes with error: FATAL ERROR: NewSpace::Rebalance Allocation failed - process out of memory
every time.
I've tried manually forcing garbage collection, separating it into smaller objects, etc., with no luck.