open-wa / wa-automate-python

💬 🤖 The most advanced Python whatsapp library for chatbots with advanced features. Be sure to ⭐ this repository for updates!
Other
330 stars 71 forks source link

WebDriver consuming lot of memory and CPU #38

Closed manojsitapara closed 3 years ago

manojsitapara commented 3 years ago

I am trying to run whatsapp for more than 50 users, but for each user wa-automate-python create new instance, which is correct, but due to this it consume huge memory and CPU usage.

Is there any way to reduce the memory and CPU usage? I have tried to follow the instruction for Firefox to reduce memory and CPU usage, but it doesn't help.

I know this may not relevant question to wa-automate-python, but this to see if anyone has any good idea to handle such scenario.

mrodal commented 3 years ago

sorry, I'm closing the issue because its not related to this repo. 50 is much more instances than I've ever used, maybe on discord you can get some help!