Guillaume

Results 77 comments of Guillaume

@Shestac92 just so we don't blame Angular for the behavior, I've made a new plunkr that uses pure Vanilla JS: https://plnkr.co/edit/engHIv?p=preview. So again, in this trivial example, how to free...

@Shestac92 something I just saw while debugging: when a chart is being added, it adds a `` element at the end of the `body` tag, but when removing the chart...

@Shestac92 so there is a method to supposably clean up when a chart is removed? I just tried on the plunkr, it does remove the `svg` elements but it does...

@Shestac92 the approach to "store the instance" is what leads to memory leak, period. If I have 10 charts on a page, I'm not going to store the 10 charts...

@Shestac92 I'm not sure if you meant keeping the chart reference and also the data within so all you have to do is simply show the chart as it was...

@blowsie yes I know that, but in our app the memory of the charts is never released, so either the Garbage collector never runs at all or the memory cannot...

@blowsie yes tried that before on all the plunkr I posted here, didnt do anything when clicking on the Trash button in the Performance tab (unless there is another way...

by didn't do anything I meant the heap snapshot after was the same as before

I'm working on a project where we use JSON files for storing our data. Some data contains arrays where we need to make sure the items are unique based on...