It is never about Javascript or Java, it is about their architecture. Javascript is dynamic, an object changes it’s shape at runtime. In order to compile a program into native OS executable. The ...
For a website. That number is your RAM. And every variable, every object, every array your JavaScript code creates is contributing to it. The question is who decides where each piece of data goes? And ...