nyghtly-derek / itchio-bundle-claimer

Auto-claim all games from an itch.io bundle, adding them to your library. For example, "Bundle for Ukraine."
25 stars 1 forks source link

Chrome crashes after ~12 pages #21

Closed Kenshin9977 closed 3 weeks ago

Kenshin9977 commented 3 weeks ago

The Chrome Window opened by Cypress crashes after it claimed ~12 games' pages with this error chrome_iBbciopgE5

nyghtly-derek commented 3 weeks ago

Hm, interesting. How much memory (RAM) does your computer have? I've seen this error many times while working with the Cypress interactive runner. I suspect it's related so some kind of memory leak.

Anyways, you can easily work around this by running the headless version.

npx cypress run

Does that work for you?

Kenshin9977 commented 3 weeks ago

I have 32 GB so I doubt it's on my side. It might be the browser that is RAM limited and yes a memory leak. I already restarted the program everytime I got the issue and claimed everything. 12 pages automated is already a life saver for my sanity. I never tried headless as sometime it got stuck on some games and I had click "previous" to unstuck it. Maybe because of an overlap between 2 bundles?

nyghtly-derek commented 3 weeks ago

Oh, that is peculiar. Does it get stuck every time? If so, would you mind running it again and taking a full-page screenshot of the stuck page?

Kenshin9977 commented 3 weeks ago

Again, sadly I have claimed everything. If there is another bundle by itch.io I'll get it, use your script and record the process