[Tile-serving] [openstreetmap/osm2pgsql] Osm2psql needs too much memory for parsing with libosmium (#574)
Ilya Zverev
notifications at github.com
Wed Apr 27 13:35:39 UTC 2016
```console
$ osm2pgsql --slim -d gis -C 800 -S veloroad.style tileosmz.osm.pbf
...
$ ls -l /var/www/html/tileosmz.osm.pbf
-rw-r--r-- 1 zverik zverik 713997282 Apr 20 16:41 /var/www/html/tileosmz.osm.pbf
$ ls -lh /var/www/html/tileosmz.osm.pbf
-rw-r--r-- 1 zverik zverik 681M Apr 20 16:41 /var/www/html/tileosmz.osm.pbf
$ uname -a
Linux tile 3.13.0-79-generic #123-Ubuntu SMP Fri Feb 19 14:27:58 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
$ free -m
total used free shared buffers cached
Mem: 994 891 102 135 24 574
-/+ buffers/cache: 291 702
Swap: 1023 139 884
$ cat /proc/sys/vm/overcommit_memory
0
$ cat /proc/sys/vm/overcommit_ratio
50
```
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/574#issuecomment-215084679
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20160427/cfdc4e3e/attachment.html>
More information about the Tile-serving
mailing list