JavaScript Heap out of memory on Raspberry Pi Zero #1226
-
DescriptionI read on wiki that Pi Zero is supported, I installed everything but when I run npm run start I get this error: I tried increasing page file. To 1200MB. But no luck... P.S. I run those commands: Should have I? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
How many stores and products are you trying to run? |
Beta Was this translation helpful? Give feedback.
-
Thanks for reply. Just 3070s and 3060TIs on newegg. I enabled low bandwidth mode thanks, but no luck. Still getting same error. Can I somehow force this bot to use pagefile? Because I think it does not. |
Beta Was this translation helpful? Give feedback.
-
It doesn't. And websites will not provide that information to scrapers. This is why we have opted to run with puppeteer. For example, try to use:
It won't work. Or try with newegg:
We get captchas -- all day. Running in chromium is best method, but most expensive. |
Beta Was this translation helpful? Give feedback.
-
I got passed this error by setting It doesn't work yet however: I am now stuck at this issue |
Beta Was this translation helpful? Give feedback.
I got passed this error by setting
export NODE_OPTIONS=--max-old-space-size=512
which limits the memory node tries to use to the available 512MB. Streetmerchant launches after this after a couple of minutes of waiting.
It doesn't work yet however: I am now stuck at this issue