hello kitty
Getting memory errors while trying to set up twenty on my local ubuntu machine.
I am trying to set up twenty for the first time on my ubuntu machine and facing some issue related to the memory, I have a 8gb 80gb ubuntu + windows dual boot laptop.
I am getting the issue as "Worker terminated due to reaching memory limit: JS heap out of memory" when i try to run npx nx start command.
Things I have done -
- Using node 18.17.1
- using yarn
- installed postgres and created the db as default and test
- installed redis using snap and i can run redis-cli(ping gives pong)
I think i satisfy all the requirements to run the app locally, still when i try to run it, i get the issue again and again.
Debugging i tried -
Tried to NODE_OPTIONS="--max-old-space-size=4096" npx nx start to avoid memory issues(that is what cursor suggested)
Tried to clean the nx and yarn cache and delete all node_modules and then run yarn install and npx nx start.
I think the backend and the service worker is running fine, the problem is with the frontend.(Runninng back,service,front gives problem with frontend only)
Can anyone please help me here?
7 replies