Re:An error message if you put more than 2^24 items in a JS ...
by yoursunny on Friday August 27, 2021 @07:22PM
(#28334084)
Several years ago, I wanted to make a huge lookup table in Node.js during a research project, but the program stopped making progress after a while.
This incident was detailed in my Quora answer:
https://www.quora.com/What-would-you-need-64GB-of-RAM-for/an...
I incorrectly concluded that Node.js has a limitation on how much memory it could use. After reading this article, I now understand that the real reason is that I'm setting too many properties on an Object, exceeding V8's limitation.
I incorrectly concluded that Node.js has a limitation on how much memory it could use. After reading this article, I now understand that the real reason is that I'm setting too many properties on an Object, exceeding V8's limitation.