-
-
Notifications
You must be signed in to change notification settings - Fork 40
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory #684
Comments
@valera1401 please check the solutions provided here and here which are increasing the heap space with the node flag If the above solution does not help then please provide a detailed information about the project you are building and your environment specifics. |
@NickIliev Thank you. |
I've reopened the issue because I have 1 more question. How to be with Sidekick cloud build ? Because I have the same error, when I try to make cloud build of the project with sidekick. |
Hi @valera1401, Currently, there is no way to set this for a cloud build. Can you share your package.json file - I would like to check why you get this error with a cloud build? |
The error occurs when ts-loader is used for web worker file. From webpack.config.js { test: /.worker.ts$/, loader: "ts-loader" }, Anyway currently I don't use ts-loader because nativescript worker-loader is broken, and I had to rewrite the worker with js. |
<--- Last few GCs --->
<--- JS stacktrace --->
==== JS stack trace =========================================
The text was updated successfully, but these errors were encountered: