Languages
[Edit]
EN

Node.js - --max-semi-space-size vs --max-old-space-size

8 points
Created by:
Diana
720

In this short article, we would like to answer for the question: what is the difference between --max-semi-space-size and --max-old-space-size in Node.js.

 

--max-semi-space-size

It is related to the New Space Memory limit (in megabytes).

New objects are stores in this memory.

--max-old-space-size

It is related to the Old Space Memory limit (in megabytes).

Old objects (that was created in the past but are still used) are stores in this memory.

 

References

Edit
  1. --max-semi-space-size - Node.js API
  2. --max-old-space-size - Node.js API
1
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join