iOS build failed due to Node.js memory limit

I have tried numerous times for several days to build my ios app, and I get the following error each time.

We detected at least the following error in the build:

AB version: 1.7.11 COMMAND: ASSETS_ARCHIVE_URL=https://appgyver-meap-assets.s3.amazonaws.com/82qqa6vso0l3dnabxzx1820m9fks?response-content-disposition=attachment%3B%20filename%3D"assets.zip"%3B%20filename*%3DUTF-8’'assets.zip&response-content-type=application%2Fzip&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJJSXXQRL4UNGBAXQ%2F20230425%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230425T195019Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=d472c4ab11aa6e4323f3895b68c425b89902f1e11f4a1059bef5d4060e2968f7 npxrnv export -p ios -s standalone_appstore -c standalone --ci --yes --skipRnvCheck --packageManager yarn --template @appgyver/orchestra-template-standalone@4.6.36 -r --xcodebuildArchiveArgs “OTHER_CODE_SIGN_FLAGS="–keychain\ AppGyver-364772"” FAILED with ERROR: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory 1: 0x110caea25 node::Abort() (.cold.1) [/Users/ec2-user/.n/bin/node] 2: 0x10f9a40f9 node::Abort() [/Users/ec2-user/.n/bin/node] 3: 0x10f9a426f node::OnFatalError(char const*, char const*) [/Users/ec2-user/.n/bin/node] 4: 0x10fb257e7 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/Users/ec2-user/.n/bin/node] 5: 0x10fb25783 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/Users/ec2-user/.n/bin/node] 6: 0x10fcc6e65 v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/Users/ec2-user/.n/bin/node] 7: 0x10fccaead v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [/Users/ec2-user/.n/bin/node] 8: 0x10fcc778d v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/Users/ec2-user/.n/bin/node] 9: 0x10fcc4cad v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/Users/ec2-user/.n/bin/node] 10: 0x10fcc39c8 v8::internal::Heap::HandleGCRequest() [/Users/ec2-user/.n/bin/node] 11: 0x10fc6fe21 v8::internal::StackGuard::HandleInterrupts() [/Users/ec2-user/.n/bin/node]

I have used all three available build versions but still get the error.

Has anyone come across this before?
I’m completely unable to build my app and release a crucial update.

I have same problem now - 2023, May 10
Versions 4.6.36, 4.7.36, 4.7.37 - all build this same error. Fix please ASAP

Please, please fix this.

I have same problem now - 2023/06/02
Versions 4.6.36, 4.7.36, 4.7.37 - all build this same error. Fix please ASAP
Did you find the solution?

Appgyver, as a free tool, is greatly appreciated. I’m not seeking new features, just the functioning of existing ones. I have dedicated years to my app, but this problem remains unsolved for months, and I am completely blocked. Please, kindly address this critical issue. Thank you.

Runtime version: 4.6.36;
AB version: 1.7.11
COMMAND:

ASSETS_ARCHIVE_URL=https://appgyver-meap-assets.s3.amazonaws.com/2ncyxt7wufe38vj7xeds400yvfx6?response-content-disposition=attachment%3B%20filename%3D"assets.zip"%3B%20filename*%3DUTF-8’'assets.zip&response-content-type=application%2Fzip&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJJSXXQRL4UNGBAXQ%2F20230619%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230619T193633Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=592b172564c83970b461279747a834cb9255df4df7f57a17c0d13b5d33c8475e npxrnv export -p ios -s standalone_appstore -c standalone --ci --yes --skipRnvCheck --packageManager yarn --template @appgyver/orchestra-template-standalone@4.6.36 -r --xcodebuildArchiveArgs “OTHER_CODE_SIGN_FLAGS="–keychain\ AppGyver-364772"”

FAILED with ERROR:

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 0x10d66b6b6 node::Abort() [/usr/local/Cellar/node@16/16.20.0/bin/node]
2: 0x10d66b931 node::ModifyCodeGenerationFromStrings(v8::Localv8::Context, v8::Localv8::Value, bool) [/usr/local/Cellar/node@16/16.20.0/bin/node]
3: 0x10d79fa56 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/usr/local/Cellar/node@16/16.20.0/bin/node]
4: 0x10d79fa27 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/local/Cellar/node@16/16.20.0/bin/node]
5: 0x10d8c83db v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/usr/local/Cellar/node@16/16.20.0/bin/node]
6: 0x10d8caf4c v8::internal::Heap::MarkCompactPrologue() [/usr/local/Cellar/node@16/16.20.0/bin/node]
7: 0x10d8c8a0e v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/usr/local/Cellar/node@16/16.20.0/bin/node]
8: 0x10d8c6ec9 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/local/Cellar/node@16/16.20.0/bin/node]
9: 0x10d8c61dd v8::internal::Heap::HandleGCRequest() [/usr/local/Cellar/node@16/16.20.0/bin/node]
10: 0x10d88e924 v8::internal::StackGuard::HandleInterrupts() [/usr/local/Cellar/node@16/16.20.0/bin/node]