marcosvrs / WTF

WTF - Chrome Extension that allows you to send messages in bulk via Whatsapp™ Web
https://chrome.google.com/webstore/detail/kcdlihaidnmkenhlnofkjfoachidbnif
MIT License
65 stars 19 forks source link

Chrome out of memory/ Web page crashed. #11

Closed chavanshashank closed 1 year ago

chavanshashank commented 1 year ago

Issue: Chrome Whatsapp web page is crashing with out-of-memory/error code:5 issue. I am trying to use this for my wife's clinic purpose.

Reproduce:

  1. Set a message and one image attachment
  2. Have a 6 seconds interval.
  3. Set some prefix country code from the dropdown.
  4. Add around 100 numbers to a list and start sending.

Chrome current WhatsApp tab will crash after sending a few messages, I have replicated this on Macbook Pro with 16GB RAM and Windows laptop as well.

I have experience working only in the JVM ecosystem, but let me know if I can contribute.

marcosvrs commented 1 year ago

Haven't gone that far with my tests, thank you for sharing it!

I will research for a better memory handling for such a high usage and let you know if I can find a better solution! Will keep this issue open until then :) Of course, if you have time and wish to contribute, feel free to open a pull request, so we can work on it together.

So far, the best you can do is to split the numbers into small chunks (I bet you are already doing it ;) )

chavanshashank commented 1 year ago

Thank you! Sure will look forward to the update.

rohankm commented 1 year ago

facing the same issue

xadnane commented 1 year ago

Any solution for this problem?

ChetanMotghare commented 1 year ago

Facing the same issue, it just sending first message message and then it stuck

marcosvrs commented 1 year ago

Tested the new version v3.3.1 with one thousand numbers and the memory kept low. The solution to use the indexedDB as caching worked! Please let me know if there are still issues.