tomer8007 / whatsapp-web-incognito

A Chrome extension that disables read receipts and presence updates on WhatsApp Web
MIT License
318 stars 75 forks source link

Possible memory leak? #171

Closed pablo-gbr closed 1 week ago

pablo-gbr commented 3 months ago

Hi, I've been using the extension since quite long time, and recently when I enter a conversation that has like +500 unread messages or multiple conversations, the entire tab starts to lag really bad, causing my ram usage to go pretty high.

I think it has something to do with all the console.log the extension does, maybe enclose them in a debug flag?

tomer8007 commented 3 months ago

I can't debug this without having 500+ unread messages. Can you point the relevant debug prints?

pablo-gbr commented 1 month ago

Sorry about the late reply, but I tested on a laptop with win 11 with the same amount of messages, and it works like a charm. But on my pc with win 10 it starts to lag real bad, I don't know if it's caused by other extensions or not, and it started to happen on chats with 1 unread message.

So I don't know the cause yet, I'll update if I find anything.

pablo-gbr commented 1 week ago

I found out that it was a config issue with my browser, I excluded whatsapp web from the list and now it works. Closing this