calcom / cal.com

Scheduling infrastructure for absolutely everyone.
https://cal.com
Other
32.54k stars 8.06k forks source link

Javascript Heap out of memory error in cal version 4.6 #17739

Open 89itworld opened 4 days ago

89itworld commented 4 days ago

Hello Team,

I am facing Javascript Heap out of memory error while creating build in the version 4.6 on self-hosting. Please help me out.

CodeShakingSheep commented 2 days ago

You can check your Node heap size with node -e 'console.log(v8.getHeapStatistics().heap_size_limit/(1024*1024))'. Try to increase it to a higher value e.g. export NODE_OPTIONS="--max-old-space-size=8192". You can verify the new size by running the first command again. Then run yarn build again.

Also see https://github.com/calcom/cal.com/issues/2381