Comments (7)
I found that initializing a client with
new Client({
puppeteer: {
args: [
'--no-sandbox',
'--disable-setuid-sandbox',
'--disable-dev-shm-usage',
'--disable-accelerated-2d-canvas',
'--no-first-run',
'--no-zygote',
'--disable-gpu'
],
}
})
should help but I am not sure, would appreciate your inputs.
from whatsapp-web.js.
Hi! I run it this way, I'm going to try some of these options you mentioned there.
, args: [ '--log-level=3', // fatal only '--start-maximized', '--no-default-browser-check', '--disable-infobars', '--disable-web-security', '--disable-site-isolation-trials', '--no-experiments', '--ignore-gpu-blacklist', '--ignore-certificate-errors', '--ignore-certificate-errors-spki-list', '--disable-gpu', '--disable-extensions', '--disable-default-apps', '--enable-features=NetworkService', '--disable-setuid-sandbox', '--no-sandbox' ]
Greetings
from whatsapp-web.js.
Hi everyone, i run neutral without any args and i realized continually puppeter takes more and more memory, it's a problem if you need keep your application running 24/7.
If you have any ideia of how to decrease this amount i will be glad to know.
My memory consumption in time-window of 12Hours.
Notice: I use a lot of other things inside of this docker container so don't scare with how large is my memory but essentially in how this increase with time elapsed.
from whatsapp-web.js.
Is there a difference if it's running headless or not?
from whatsapp-web.js.
Beyond consuming less or not running it headless, having an environment without any support for a graphic system is lighter than a complete environment with window manager and other needs.
from whatsapp-web.js.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from whatsapp-web.js.
Hi everyone, i run neutral without any args and i realized continually puppeter takes more and more memory, it's a problem if you need keep your application running 24/7. If you have any ideia of how to decrease this amount i will be glad to know.
My memory consumption in time-window of 12Hours.
Notice: I use a lot of other things inside of this docker container so don't scare with how large is my memory but essentially in how this increase with time elapsed.
Hey did you try with arguments and compare?
from whatsapp-web.js.
Related Issues (20)
- Events Call
- unable to reproduce ptt downloaded file (message voice) HOT 1
- Cannot create logic when message from admin HOT 1
- Is there any method in Message object that delete the message media from the phone HOT 1
- TypeError: Cannot read properties of null (reading '1') HOT 9
- Uncaught SyntaxError /node_modules/whatsapp-web.js/src/Client.js:1354 HOT 1
- Link preview not working on all websites HOT 1
- Client problem i cant see qr code or any client operations
- the first message does not arrive HOT 2
- Bug: fetchMessage Function Does Not Update Message ACK Status Properly
- Whatsapp suspend my account HOT 7
- OnMessage event not triggered for messages from unknown numbers
- Bug: Chat.isMuted returns undefined HOT 5
- Is it possible to get all the members/contacts of a group? HOT 3
- deprecatedMms3Url Encrypted HOT 2
- CANNOT READ PROPERTIES OF NULL HOT 1
- TypeError: Cannot read properties of undefined (reading 'push') HOT 3
- TypeError: Cannot read properties of null (reading '1') HOT 4
- Check user online and last seen
- WhatsApp does not work on v2.3XXX HOT 155
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whatsapp-web.js.