Artsdatabanken / stedsnavn-lastejobb

Laster stedsnavn fra SSR (Sentralt stedsnavn register)
1 stars 1 forks source link

rpm run fulltext #2

Closed steinho closed 3 years ago

steinho commented 3 years ago

feiler - både på windows under wsl2 og på ubuntu 20 linux med 32 gb minne og node 14:

stedsnavn-lastejobb@1.0.1 fulltext /home/stein/Repos/stedsnavn-lastejobb node --max_old_space_size=28192 node_modules/lastejobb/lastejobb stages/fulltext

ℹ50_fulltextindex Åpner temp/inn_kategori.json +0ms ℹ50_fulltextindex Lest 8 elementer fra 0 timer gammel fil. +1ms ℹ50_fulltextindex Åpner temp/autor2kode.json +0ms ℹ50_fulltextindex Lest 304 elementer fra 0 timer gammel fil. +1ms ℹ50_fulltextindex Åpner ./build/type.json +0ms ℹ50_fulltextindex Lest 305 elementer fra 0 timer gammel fil. +1ms

<--- Last few GCs --->

[4393:0x55c2a80] 9453 ms: Scavenge (reduce) 2094.7 (2101.1) -> 2094.4 (2101.6) MB, 2.8 / 0.0 ms (average mu = 0.235, current mu = 0.195) allocation failure [4393:0x55c2a80] 9874 ms: Mark-sweep (reduce) 2095.0 (2098.6) -> 2094.7 (2100.3) MB, 420.6 / 0.0 ms (+ 0.2 ms in 696 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 544 ms) (average mu = 0.253, current mu = 0.300) a

<--- JS stacktrace --->

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory 1: 0xa02eb0 node::Abort() [node] 2: 0x94e471 node::FatalError(char const, char const) [node] 3: 0xb7691e v8::Utils::ReportOOMFailure(v8::internal::Isolate, char const, bool) [node] 4: 0xb76c97 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate, char const, bool) [node] 5: 0xd31535 [node] 6: 0xd320bf [node] 7: 0xd4014b v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node] 8: 0xd43d0c v8::internal::Heap::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node] 9: 0xd123eb v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationType, v8::internal::AllocationOrigin) [node] 10: 0x105836f v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long, v8::internal::Isolate) [node] 11: 0x13fe339 [node] Aborted (core dumped) npm ERR! code ELIFECYCLE npm ERR! errno 134 npm ERR! stedsnavn-lastejobb@1.0.1 fulltext: node --max_old_space_size=28192 node_modules/lastejobb/lastejobb stages/fulltext npm ERR! Exit status 134 npm ERR! npm ERR! Failed at the stedsnavn-lastejobb@1.0.1 fulltext script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /home/stein/.npm/_logs/2020-10-07T14_07_13_377Z-debug.log