Abdullah Khan
Deno needs better memory leaks debugging tools
Hello Deno team! From a few weeks I am facing a big memory leak issue in my Deno app. I used the chrome dev tools to figure out the source of memory leak but I found no clue! There is just a big ArrayBuffer on top with a retained size, when I open it to see the details it has some strange objects with circular references. There are no variable names or source paths of this data that can allow me to find the origin of the memory leak!
I have double checked all of my code to find any clue, but nothing found!
I am writing this to know if there are any tools that I can use with Deno to debug this issue? Is there any plan to develop some more lower-level tools that can allow debugging these kind of anonymous memory leaks?
I have attached a heapsnapshot of my app below. May be you can find the root cause of the memory leak:
https://limewire.com/d/b2169988-af1a-4537-a1a5-fd1b3774cca9#iqHBTOHQi6cJiG9a0CITzTK2uK0XJl6xrefAlDvcugg
Looking forward for a faster solution for this issue
Regards
6 replies