TL;DR: 16,777,216
I was debugging an issue at work with the exception Caused by: RangeError: Set maximum size exceeded..I'm pretty sure I've seen this error when really the root cause was that node was out of memory, but I'm having a hard time finding evidence of