Skip to content Skip to sidebar Skip to footer
Showing posts with the label Memory

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

Node Redis Publisher Consuming Too Much Memory

I wrote a small redis publisher in node by using node_redis library. After the program is done publ… Read more Node Redis Publisher Consuming Too Much Memory

Memory Leak In Javascript, Functions Inside Loop

I am looping over a response that I got from an ajax response, the response is an array containing … Read more Memory Leak In Javascript, Functions Inside Loop

Memory Allocation Of A Javascript Array?

If I add a value to the 1000th element of a Javascript array, then is there any difference to addin… Read more Memory Allocation Of A Javascript Array?

Delete An Image() Object From Memory On Click Event Of Sibling Element — Javascript

I have an image previewer that uses the JavaScript Image() object to preview images prior to them b… Read more Delete An Image() Object From Memory On Click Event Of Sibling Element — Javascript

'undefined' - If It's Defined As A Primitive Value, What Is It Defined In Terms Of Its Value At The Memory Level?

I understand from MDN that 'undefined' is recognised as a primitive value, which is corrobo… Read more 'undefined' - If It's Defined As A Primitive Value, What Is It Defined In Terms Of Its Value At The Memory Level?

Browser Memory Increasing Constantly With Javascript Ajax Calls

I have a strange behaviour. I am using a rather heavy page (4000 nodes) meant to display a dispatch… Read more Browser Memory Increasing Constantly With Javascript Ajax Calls

What Happens To Form / JavaScript Data When Browser Window Is Closed?

I have a html form which collects data in input elements and then generates a PDF (using jsPDF) for… Read more What Happens To Form / JavaScript Data When Browser Window Is Closed?