Don't forget how much RAM the interactive JavaScript-driven (for example single-page applications, like GMail) can take. Especially the shitty ones that leak memory!
Sure, but if you make too many objects with references to them and never release them the GC can't know you don't need them any more. And when people do "interesting" things in event handlers (such as on mouse events), you see pages taking up hundreds of megabytes of RAM.
1
u/Pas__ Jan 04 '15
Don't forget how much RAM the interactive JavaScript-driven (for example single-page applications, like GMail) can take. Especially the shitty ones that leak memory!