The issue has been closed
Hi ,
I have some issues about memory, for example I have a VPS (4GB ram, 2 CPU cores), when I run a docker or local process memory ram starts about 400 mb, but after 5 days it is around 2GB. When memory reaches 100% api disconnects
<img width="1235" alt="Captura de Pantalla 2021-11-03 a la(s) 4 46 14 p m" src="https://user-images.githubusercontent.com/47125165/140220013-79b474f5-2831-4c93-9f64-c7796338cbc8.png">
<img width="793" alt="Captura de Pantalla 2021-11-03 a la(s) 4 48 06 p m" src="https://user-images.githubusercontent.com/47125165/140220134-20ef2cb8-de67-42c6-a103-89ebdbbb8c93.png">
s
![](https://avatars.githubusercontent.com/u/5903821?v=4)
@NSOPORTEDESARROLLO try calling the /refresh endpoint to reduce ram usage from the browsers end. Please report back if that works for u
posted by smashah over 3 years ago![](https://avatars.githubusercontent.com/u/47125165?v=4)
I'm trying some like : curl -X POST http://localhost:8080/refresh, but I got:
{"success":false,"error":{"name":"Error","message":"Evaluation failed: TypeError: Cannot read properties of undefined (reading 'sendMessage')\n at puppeteer_evaluation_script:1:110364\n at puppeteer_evaluation_script:1:424734"}}
posted by NSOPORTEDESARROLLO over 3 years ago![](https://avatars.githubusercontent.com/u/12126671?v=4)
@smashah I am also getting same error when I tried to use /refresh end point,
After 1-2 days docker container consuming 1.5 to 2 GB RAM
After restarting docker image, it uses around 400-500MB, but after 1-2 days it started consuming more memories.
{
"success": false,
"error": {
"name": "Error",
"message": "Evaluation failed: TypeError: Cannot read properties of undefined (reading 'sendMessage')\n at puppeteer_evaluation_script:1:115974\n at puppeteer_evaluation_script:1:449680"
}
}
Can you please help us to fix the issue?
posted by manojsitapara about 3 years ago![](https://avatars.githubusercontent.com/u/5903821?v=4)
I'm going to need to see all of your launch logs and config in order to replicate this error upon calling refresh.
posted by smashah about 3 years ago![](https://avatars.githubusercontent.com/u/12126671?v=4)
posted by manojsitapara about 3 years ago ![](https://avatars.githubusercontent.com/u/5903821?v=4)
@manojsitapara there is critical context in the logs at the beginning. Please share all of it not just after you scanned the qr code
posted by smashah about 3 years ago![](https://avatars.githubusercontent.com/u/5903821?v=4)
@manojsitapara refresh is fixed in the :latest
or :4.23.17
posted by smashah about 3 years ago![](https://avatars.githubusercontent.com/u/5903821?v=4)
@NSOPORTEDESARROLLO
@manojsitapara refresh is fixed in the :latest
or :4.23.17
posted by smashah about 3 years ago![](https://avatars.githubusercontent.com/u/12126671?v=4)
Thanks @smashah it is working now
posted by manojsitapara about 3 years ago