alvarcarto / alvarcarto/tilewarm

OutOfMemory crash on warming all-cities over zoom level 12

Abierto
#4 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
8
Forks
8
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Looks like the JVM runs out of memory. Any thoughts on the best way to resolve this? Would like to warm these zoom levels all at once instead of with multiple jobs ideally.

```tilewarm http://tileserver-example.com/tile/\{z\}/\{x\}/\{y\}.png --input geojson/all-cities.geojson --zoom 10-18

<--- Last few GCs --->

[41282:0x105000600] 36453 ms: Scavenge 1154.8 (1421.6) -> 1154.1 (1422.6) MB, 2.6 / 0.0 ms (average mu = 0.145, current mu = 0.115) allocation failure
[41282:0x105000600] 36457 ms: Scavenge 1154.9 (1422.6) -> 1154.4 (1423.1) MB, 1.9 / 0.0 ms (average mu = 0.145, current mu = 0.115) allocation failure
[41282:0x105000600] 36470 ms: Scavenge 1156.3 (1423.1) -> 1155.8 (1423.6) MB, 3.2 / 0.0 ms (average mu = 0.145, current mu = 0.115) allocation failure

<--- JS stacktrace --->

==== JS stack trace =========================================

0: ExitFrame [pc: 0x2d4472b841bd]
1: StubFrame [pc: 0x2d4472b95610]
Security context: 0x3efb3781e6c9
2: getTiles [0x3efb60ceab51] [/usr/local/lib/node_modules/@alvarcarto/tilewarm/node_modules/@mapbox/tile-cover/index.js:~56] [pc=0x2d4472ebbe35](this=0x3efb602c9bd9 ,geom=0x3efbcf0b2f59 ,limits=0x3efbc0615d49 )
3: /* anonymous ...

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 0x100033dab node::Abort() [/usr/local/bin/node]
2: 0x10003557e node::FatalTryCatch::~FatalTryCatch() [/usr/local/bin/node]
3: 0x1001776a7 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node]
4: 0x100177649 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node]
5: 0x10045004a v8::internal::Heap::UpdateSurvivalStatistics(int) [/usr/local/bin/node]
6: 0x100451ced v8::internal::Heap::CheckIneffectiveMarkCompact(unsigned long, double) [/usr/local/bin/node]
7: 0x10044f3af v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/usr/local/bin/node]
8: 0x10044e300 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/local/bin/node]
9: 0x1004564f7 v8::internal::Heap::AllocateRawWithRetry(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/usr/local/bin/node]
10: 0x100434108 v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationSpace) [/usr/local/bin/node]
11: 0x10062d8c5 v8::internal::Runtime_AllocateInNewSpace(int, v8::internal::Object**, v8::internal::Isolate*) [/usr/local/bin/node]
12: 0x2d4472b841bd
[1] 41282 abort tilewarm http://tiles-cloudfront.life360.com/tile/\{z\}/\{x\}/\{y\}.png```

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.