Closed bubnenkoff closed 7 years ago
The max old space size parameter must be passed to the node
command (which is implicitly called when running osmtogeojson directly). Try something like:
node --max_old_space_size=8192 c:\………\npm\node_modules\osmtogeojson\osmtogeojson luxembourg-latest.osm.pbf > 1232.json
(you must replace the path with the actual one on your system)
I am getting out of memory error. I tried:
osmtogeojson --ndjson --max_old_space_size=8192 luxembourg-latest.osm.pbf > 1232.json
but it did not help. But there is
which
that seems not Windows command:osmtogeojson --ndjson --max_old_space_size=8192
which osmtogeojsonluxembourg-latest.osm.pbf > 1232.json
Is there any way to get work it on Windows?