Has the default memory limit of Node.js changed?

I’m batch-downloading video files with a Node.js process (and node-fetch) that buffers all the data in variables as simple Buffers; no streams. And I realized that it no longer complains (“throws an error”) about exceeding the memory limit when it’s taking up over 13 gigabytes of memory, unlike when I wrote memory-consuming code like this a few years ago.

The Node.js (version 18.2.0) instance was executed with the simple command “node main.mjs” on my Windows 10 (64-bit) command prompt, without any flags. I have about 32 gigabytes of memory.

Has something changed about the default memory limit?

A Node.js process taking up over 12 gigs

I’ve read

Read more here: Source link