Heap Memory overflow issue

I have used plotly scattergl line chart. After loading line chart with huge data, browser’s heap memory got increased from 60MB to 790MB.Then if we destroyed the component Plotly.purge(this.plotContainer.nativeElement); the increased heap memory is not reduced even after manually cleared garbage collector. When i check the memory details in chrome snapshot, the plotly related objects/instances are not clearing.

Can anyone help me out on this issue?