olton / Metro-UI-CSS

Impressive component library for expressive web development! Build responsive projects on the web with the first front-end component library in Metro Style. And now there are even more opportunities every day!
http://metroui.org.ua/
MIT License
7.04k stars 1.96k forks source link

Memory leak (?!) in Countdown component #1930

Open netfaresi opened 8 months ago

netfaresi commented 8 months ago

Describe the bug The Countdown component leads high possibly to a memory leak.

To Reproduce Open the official documentation page for Countdown component and let the page stay open for about 15-30 minutes. The memory usage of the page grows steadily in the course of time.

I realized this, when I got a warning from my browser MS Edge(chromium based) and the browser tab was crashed. Just after the warning message I opened the Browser Task Manager and saw 3,7 GB memory usage by the Countdown documentation page.

I tried to reproduce the bug by just reopening the page without any action on the page and nearly no scrolling. At very first the memory usage was about 90 MB. After ca. 10 minutes it grew to 170MB. And then within 1-2 minutes it jumped to 2,7 GB very quickly, while I was examining the memory usage in the Browser Task Manager.

Expected behavior Memory usage should not increase.

Screenshots Countdown-Memory-Leak

Desktop (please complete the following information):