I have a living linechart that updates frequently, see http://jsfiddle.net/cddw17fg/5/
function redraw() {
if (!redraw.isGraphShown) {
redraw.isGraphShown = true;
...
} else {
d3.select('#chart svg')
.datum(data)
.transition().duration(1500)
.call(chart);
d3.select('.nv-x.nv-axis > g').selectAll('g').selectAll('text')
.attr('transform', function(d, i, j) {
return 'translate (-40, 40) rotate(315)'
});
nv.tooltip.cleanup();
chart.update();
}
}
Running this js in IE11 with the "Development Tools" the "Total memory" increases slightly first, but after some minutes it starts growing fast.
After starting the jsfiddle the memory consumption looks 'good'... but after some minutes someone gets hungry and eats my bytes...
Anyone any clue about what I'm doing wrong?