-
Notifications
You must be signed in to change notification settings - Fork 12
Description
When trying to start a seed job based on a region or bounding box that in combination with zoom level will have to calculate the number of tiles and the result is too big this issue happens and system is crashing, se example in log excerpt below.
Nov 28 12:46:26 dronten signalk-server[112732]: <--- Last few GCs --->
Nov 28 12:46:26 dronten signalk-server[112732]: [112732:0x14ae8000] 68533708 ms: Mark-Compact (reduce) 2045.6 (2083.4) -> 2045.3 (2083.9) MB, pooled: 0 MB, 575.38 / 0.00 ms (+ 629.8 ms in 0 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 1524 ms) (average mu = 0.346,[112732:0x14ae8000] 68535267 ms: Mark-Compact 2046.3 (2083.9) -> 2045.8 (2087.7) MB, pooled: 0 MB, 1550.47 / 0.00 ms (average mu = 0.196, current mu = 0.005) allocation failure; scavenge might not succeed
Nov 28 12:46:26 dronten signalk-server[112732]: <--- JS stacktrace --->
Nov 28 12:46:26 dronten signalk-server[112732]: FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
Nov 28 12:46:26 dronten signalk-server[112732]: ----- Native stack trace -----
Nov 28 12:46:26 dronten signalk-server[112732]: 1: 0xe38a0e node::OOMErrorHandler(char const*, v8::OOMDetails const&) [node]
Nov 28 12:46:26 dronten signalk-server[112732]: 2: 0x120a5a0 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]
Nov 28 12:46:26 dronten signalk-server[112732]: 3: 0x120a877 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]
Nov 28 12:46:26 dronten signalk-server[112732]: 4: 0x1438155 [node]
Nov 28 12:46:26 dronten signalk-server[112732]: 5: 0x14519e9 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]
Nov 28 12:46:26 dronten signalk-server[112732]: 6: 0x1426098 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
Nov 28 12:46:26 dronten signalk-server[112732]: 7: 0x1426fc5 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
Nov 28 12:46:26 dronten signalk-server[112732]: 8: 0x13ffc9e v8::internal::Factory::NewFillerObject(int, v8::internal::AllocationAlignment, v8::internal::AllocationType, v8::internal::AllocationOrigin) [node]
Nov 28 12:46:26 dronten signalk-server[112732]: 9: 0x18612fc v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [node]
Nov 28 12:46:26 dronten signalk-server[112732]: 10: 0x7f68cde6c7c9
Nov 28 12:46:26 dronten signalk-server[112731]: Aborted (core dumped)
Nov 28 12:46:26 dronten systemd[1]: signalk.service: Main process exited, code=exited, status=134/n/a
Nov 28 12:46:26 dronten systemd[1]: signalk.service: Failed with result 'exit-code'.
Nov 28 12:46:27 dronten systemd[1]: signalk.service: Scheduled restart job, restart counter is at 6.
Nov 28 12:46:27 dronten systemd[1]: Stopped signalk.service.
Nov 28 12:46:27 dronten systemd[1]: Started signalk.service.