Ice-mourne / Clarity

Just some extra editions to Destiny Item Manager
https://www.d2clarity.com/
MIT License
18 stars 3 forks source link

Memory Leak #17

Open camohiddendj opened 2 years ago

camohiddendj commented 2 years ago

There appears to be a memory leak caused by the Clarity extension. When moving items between characters/vault/postmaster you can see the memory usage increases but it never goes back down. This continues until the browser tab crashes due to an Out of Memory error. Disabling Clarity resolves the issue.

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.64 Safari/537.36 Edg/101.0.1210.53

image

Ice-mourne commented 2 years ago

Interesting

On Sun, May 29, 2022, 22:14 camo @.***> wrote:

There appears to be a memory leak caused by the Clarity extension. When moving items between characters/vault/postmaster you can see the memory usage increases but it never goes back down. This continues until the browser tab crashes due to an Out of Memory error. [image: image] https://user-images.githubusercontent.com/11087140/170887655-7dd5aa6f-63dd-4286-a51d-25a681b30d9a.png

— Reply to this email directly, view it on GitHub https://github.com/Ice-mourne/Clarity/issues/17, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASQ53ANXUWPABOBX5NELFALVMO62BANCNFSM5XISK4QA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Ice-mourne commented 2 years ago

What browser are you using? I did a test on chrome with macro for 15mins moving items back and forth and nothing no significant change

theblacksails commented 2 years ago

I've noticed this in Edge. I have a window open with DIM almost 24/7 and if I leave the browser open long enough, even if I'm not using it, the tab will suddenly crash and reload. It's always been when I'm not actively using it though so I can't really say how I've caused it.

weardo98 commented 2 years ago

Desktop Screenshot 2022 11 28 - 14 36 44 10 this is what the network console says for me and after a couple of minutes it crashes the page because i have a ram limite set on OpraGX