evmer / perlego-downloader

Download books from Perlego.com in PDF format
MIT License
106 stars 52 forks source link

High Resources usage #24

Open Vittoriodbn opened 1 year ago

Vittoriodbn commented 1 year ago

The script works, but I can't get the job done because I have to kill it due to high resources usage. I tried ulimit for RAM and cpulimit too but whenever the code uses chrome, then chrome's resources usage litterally skyrockets to a point where I have to shut down the computer if I wait too long. Anyway I gather it could be possible to limit resources usage through the script, but I'm not so sure if it' going to apply to chrome processes launched from the script.

AlloryDante commented 1 year ago

Its chrome fault, nothing we can do.Try to get oracle free tier VPS 4cpu 24 gb ram and run the script there.