Escape the 1.4GB V8 heap limit in Node.js! at caustik's blog

caustik's blog programming and music erase this line if you want to turn the bubble off Escape the 1.4GB V8 heap limit in Node.js! with 29 comments (continued from the sprites scalability experiments [ 250k ] [ 100k ]) Well, finally found a work around for the 1.4GB limit imposed on the V8 heap. This limitation was at first a “hard” limit, and after some tweaks it became a “soft” limit. Now, the combined tweaks listed below have removed the limit entirely! YESSSSSS!! The first two were already mentioned in my previous few blog articles, and the new ones (#3 and #4) finally open up the possibility of utilizing the real capacity of your server hardware. 1) ulimit -n 999999 This effectively increases the number of sockets Node.js can have open. You won’t get far without it, as the default tends to be around 1024. 2) –nouse-idle-notification This is a command line parameter...

Linked on 2016-01-20 22:25:12 | Similar Links