wwebjs-api icon indicating copy to clipboard operation
wwebjs-api copied to clipboard

Ram usage

Open souhailben opened this issue 9 months ago • 2 comments

Hi again, I really appreciate your work! I was wondering if there's a way to reduce RAM usage. Right now, each session takes about 400MB, but I need to bring it down to under 100MB. Any suggestions?

souhailben avatar Mar 15 '25 17:03 souhailben

There is nothing what can be done to decrease the RAM usage as a single instance runs a separate Chromium instance. Might be good to take a look at the project https://github.com/WhiskeySockets/Baileys. I saw a rest wrapper around it somewhere.

avoylenko avatar Mar 15 '25 22:03 avoylenko

one of my sessions has 2.7gb. It has crashed the server before on a spike. Is there any way to recoup RAM?

sutidor avatar Jun 13 '25 16:06 sutidor