When jitsi meet local run

<--- Last few GCs --->

[35016:0x7f85e8a00000]   121109 ms: Scavenge 2006.9 (2071.3) -> 1995.7 (2071.3) MB, 5.5 / 0.0 ms  (average mu = 0.325, current mu = 0.374) allocation failure 
[35016:0x7f85e8a00000]   121144 ms: Scavenge 2009.1 (2071.3) -> 1995.9 (2071.6) MB, 3.0 / 0.0 ms  (average mu = 0.325, current mu = 0.374) allocation failure 
[35016:0x7f85e8a00000]   121169 ms: Scavenge 2009.9 (2071.6) -> 1995.6 (2073.1) MB, 3.7 / 0.0 ms  (average mu = 0.325, current mu = 0.374) allocation failure 


<--- JS stacktrace --->

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
 1: 0x1079b1bf5 node::Abort() (.cold.1) [/usr/local/bin/node]
 2: 0x1066a5349 node::Abort() [/usr/local/bin/node]
 3: 0x1066a54bf node::OnFatalError(char const*, char const*) [/usr/local/bin/node]
 4: 0x106827987 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node]
 5: 0x106827923 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node]
 6: 0x1069c9005 v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/usr/local/bin/node]
 7: 0x1069cd04d v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [/usr/local/bin/node]
 8: 0x1069c992d v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/usr/local/bin/node]
 9: 0x1069c6e4d v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/local/bin/node]
10: 0x1069c5b68 v8::internal::Heap::HandleGCRequest() [/usr/local/bin/node]
11: 0x106971fc1 v8::internal::StackGuard::HandleInterrupts() [/usr/local/bin/node]
12: 0x106d58758 v8::internal::Runtime_StackGuard(int, unsigned long*, v8::internal::Isolate*) [/usr/local/bin/node]
13: 0x107102a19 Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_NoBuiltinExit [/usr/local/bin/node]
14: 0x1070de83f Builtins_MapIteratorPrototypeNext [/usr/local/bin/node]
15: 0x10ba1b5fb 
make: *** [dev] Abort trap: 6

when export NODE_OPTIONS=–max_old_space_size=4096 it worked. how much memory is needed to run locally?

That’s only for making the bundle, for production use you just need a web server like nginx.

1 Like