Maximum number of entries in Node.js Map?
V8 developer here. I can confirm that 2^24 is the maximum number of entries in a Map. That’s not a bug, it’s just the implementation-defined limit. The limit is determined by: The FixedArray backing store of the Map has a maximum size of 1GB (independent of the overall heap size limit) On a 64-bit system … Read more