R
Railwayβ€’13mo ago
devnyxie

Puppeteer RAM leaks

Hey! Hope y'all have a good day:) My problem: after few hundred of fetches via Puppeteer I think I've had few RAM leaks, which will have to be fixed by me of course. Problem is, after deletion of latest deployment I still see constant 1.8gb ram used (same express app eats up to 100mb in another project poggers I was wondering, is there a way to restart the machine or clear the ram somehow? Or should I just re-add the repo to my project? Thanks in advance!
No description
Solution:
Web scraping is against Railway TOS
Jump to solution
8 Replies
Percy
Percyβ€’13mo ago
Project ID: 74cf85fb-01ae-4225-a39c-a363fa9a80ae
devnyxie
devnyxieOPβ€’13mo ago
74cf85fb-01ae-4225-a39c-a363fa9a80ae Note: I'm not a pro, might miss some stuff salute
Fragly
Fraglyβ€’13mo ago
What are you using puppeteer for?
pandas
pandasβ€’13mo ago
Think its best to redeploy or restart service if railway has it Regarding leaks make sure to close old instances or use manager If they do have restart look for three dots menu usually it hides there
devnyxie
devnyxieOPβ€’13mo ago
devforth.io
How to simply workaround RAM-leaking libraries like Puppeteer. Univ...
Learn how to workaround any kinds of leaks in 3rd-party libraries. Get ready-to-use leak-fixer code for NodeJS.
devnyxie
devnyxieOPβ€’13mo ago
thank you <3
Solution
Fragly
Fraglyβ€’13mo ago
Web scraping is against Railway TOS
devnyxie
devnyxieOPβ€’13mo ago
Oh well Perhaps it's time to close this issue then- πŸƒπŸ»β€β™‚οΈ Thanks @pandas@Fragly ❀️ ✊🏻
Want results from more Discord servers?
Add your server