-
-
-
Mostly in this case, nodejs will go up to the memory limit and only then trigger the garbage collection. This was one initial reason to add those memory limits as well, to make ruby/nodejs/... not go overboard.
So I don't think there is anything to solve here to be honest.
-
-
Okay, it's a bit odd since that's the first time I've seen Surfer app crash due to this memory condition, presumably because the GC failed or was started too late with too little overhead available to complete.
Have tens of other Surfer apps that do not exhibit this behavior.