osmcode / osmium-tool

Command line tool for working with OpenStreetMap data based on the Osmium library.
https://osmcode.org/osmium-tool/
GNU General Public License v3.0
483 stars 104 forks source link

extract memory usage now doubled on 1.13 #232

Closed pitney123456 closed 2 years ago

pitney123456 commented 2 years ago

Hello

I use the extract function to split country files from geofab continent files. Using 1.10 I adjusted my json files so as to not exceed the 16gb of ram on my system. Using 1.13 on the same continent files (as 1.10) my memory usage is apprx double.

I use complete ways, pbf_compression=none, add_metadata=false on both poly and bbox. The only differences are upgrade to Debian 11 (from 10) and 1.13 from the Debian repository. Any thoughts?

(please note that I cannot build sw)

thanks, pitney

joto commented 2 years ago

Can you be more specific? What command line exactly are you using, what config file, what input files? Can you post the output (run with -v).

pitney123456 commented 2 years ago

Sorry, my bad. With my previous runs I used strategy=simple which was deleted from my current script which then used strategy=complete_ways, doubling memory usage. Adding strategy=simple back, all is good. Thank you for continuing to develop Osmium. pitney