I am creating a node application that generates scripts for test cases. I feel that in the case of large codes, javascritp scripts or files are generated with high memory.
I would like to know how much memory is allocated for javascript variables. The reason I want to know the same thing is that I would like to free up memory in order to make my application faster if it takes up more memory.
The duplicate or so-called duplicate question really concerned the allocation / de-allocation of memory in Javascript that I know of. The purpose of the question is that
a) Do we need to think about memory problems, which slows down the application in applications based on javascript node.js?
b) If the answer to the above question is yes, how do we know which Javascript objects are no longer used and, therefore, free up any memory assigned to it by force (if Javascript provides such an opportunity that I do not know about)?
source
share