Skip to content Skip to sidebar Skip to footer
Showing posts with the label Garbage Collection

Javascript Memory Leak From Closure Lexical Environment

I am trying to understand why the following code causes a memory leak Here is the timeline showin… Read more Javascript Memory Leak From Closure Lexical Environment

Requestanimationframe Garbage Collection

I'm profiling the following code's memory usage using the Timeline in Chrome Dev Tools v27.… Read more Requestanimationframe Garbage Collection

How Do I Explicitly Release A Javascript Object From Within The Object?

I'm using John Resig's recipe for JavaScript 'classes' and inheritance. I've st… Read more How Do I Explicitly Release A Javascript Object From Within The Object?

Javascript - Garbage Collector Timers?

Any idea on garbage collector timer in javascript? Suppose i run below script, will function and as… Read more Javascript - Garbage Collector Timers?

Do Local Variables Inside Of A Loop Get Garbage Collected?

I'm wondering if it is more efficient to place any vars referenced within a loop, outside of th… Read more Do Local Variables Inside Of A Loop Get Garbage Collected?

JavaScript Closures Concerning Unreferenced Variables

I'm aware of the great posts on Closures here and here, but neither seems to address the partic… Read more JavaScript Closures Concerning Unreferenced Variables