EN
Node.js - --max-semi-space-size vs --max-old-space-size
8 points
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. |