saurav
[TWENTY_SERVER] Out of memory when `npx nx start twenty-server`
still shows the same error
<--- JS stacktrace --->
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 0xb9bbf0 node::Abort() [node]
2: 0xaa27ee [node]
3: 0xd734a0 v8::Utils::ReportOOMFailure(v8::internal::Isolate, char const, bool) [node]
4: 0xd73847 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate, char const, bool) [node]
5: 0xf50c55 [node]
6: 0xf51b58 v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [node]
7: 0xf62053 [node]
8: 0xf62ec8 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]
9: 0xf3d81e v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
10: 0xf3ebe7 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
11: 0xf1fdea v8::internal::Factory::NewFillerObject(int, v8::internal::AllocationAlignment, v8::internal::AllocationType, v8::internal::AllocationOrigin) [node]
12: 0x12e505f v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long, v8::internal::Isolate) [node]
13: 0x1711cb9 [node]
19 replies
[TWENTY_SERVER] Out of memory when `npx nx start twenty-server`
3>when i am running this command(npx nx start twenty-front) i am getting;-
saurav@Saurav-Mishra:~/twenty$ npx nx start twenty-front
NX Running target start for project twenty-front and 4 tasks it depends on:
nx run twenty-shared:generateBarrels [existing outputs match the cache, left as is]
nx run twenty-ui:generateBarrels [local cache] nx run twenty-shared:build [existing outputs match the cache, left as is] nx run twenty-ui:build [local cache] nx run twenty-front:startVITE_DISABLE_TYPESCRIPT_CHECKER: true VITE_DISABLE_ESLINT_CHECKER: true VITE_DISABLE_TYPESCRIPT_CHECKER: true VITE_DISABLE_ESLINT_CHECKER: true ➜ Local: http://localhost:3001/ ➜ Network: use --host to expose with a page as i have mentioned above
19 replies
[TWENTY_SERVER] Out of memory when `npx nx start twenty-server`
1> I am using the latest code only through the local setup, with ssh git clone
2> when i am running this command( npx nx start twenty-server) i am getting->
SWC Running...Successfully compiled: 2177 files with swc (895.75ms) <--- Last few GCs ---> [22104:0x2137dca0] 47525 ms: Scavenge (reduce) 1899.7 (1936.7) -> 1899.2 (1936.7) MB, 8.2 / 0.0 ms (average mu = 0.134, current mu = 0.020) allocation failure; [22104:0x2137dca0] 47565 ms: Scavenge (reduce) 1899.9 (1936.7) -> 1899.5 (1936.9) MB, 11.7 / 0.0 ms (average mu = 0.134, current mu = 0.020) allocation failure; [22104:0x2137dca0] 47592 ms: Scavenge (reduce) 1900.3 (1936.9) -> 1899.9 (1937.4) MB, 6.1 / 0.0 ms (average mu = 0.134, current mu = 0.020) allocation failure; <--- JS stacktrace ---> FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory 1: 0xb9bbf0 node::Abort() [node] 2: 0xaa27ee [node] 3: 0xd734a0 v8::Utils::ReportOOMFailure(v8::internal::Isolate, char const, bool) [node] 4: 0xd73847 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate, char const, bool) [node
19 replies
Error while setting up.....
i took your advice [0] FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
[0] 1: 0xb9bbf0 node::Abort() [node]
[0] 2: 0xaa27ee [node]
[0] 3: 0xd734a0 v8::Utils::ReportOOMFailure(v8::internal::Isolate, char const, bool) [node]
[0] 4: 0xd73847 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate, char const, bool) [node]
[0] 5: 0xf50c55 [node]
[0] 6: 0xf51b58 v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [node]
[0] 7: 0xf62053 [node]
[0] 8: 0xf62ec8 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node] now this error i am getting , i have followed the docs of troubleshooting and uncommented the lines but still this error is coming , my pc has 8gb ram so i cant give much memory. what should i do please help?
6 replies