wdantuma / s57-tiler

S57-tiler creates vectortiles from S57 ENC's which can be used with freeboard-sk
3 stars 0 forks source link

s57-tiler: Huge Memory Usage #1

Closed free-x closed 3 months ago

free-x commented 1 year ago

Hi,

I tried some tests, with s57-tiler. Unfortunately s57-tiler uses huge memory. More often I noticed that OOM has finally shot down the Process Tried NL-Zeeland iENC

Sep  4 19:45:40 XXX kernel: [82813.237012] Out of memory: Killed process 58572 (s57-tiler) total-vm:6181604kB, anon-rss:4230952kB, file-rss:0kB, shmem-rss:0kB, UID:0 pgtables:10184kB oom_score_adj:0
$ build/s57-tiler -minzoom 10          
Zoom: 10, Processed: 94 %    

Zoom: 11, Processed: 98 %    

Zoom: 12, Processed: 99 %    

Zoom: 13, Processed: 100 %    

Zoom: 14, Processed: 47 %    Killed
wdantuma commented 3 months ago

This should be fixed now