[Tile-serving] [osm2pgsql] Cannot allocate memory for helper processes (#90)

Paul Norman notifications at github.com
Sat Sep 28 21:42:18 UTC 2013


On a stock EC2 m2.2xlarge instance running ubuntu 12.04 LTS with the command

```sh
~/osm2pgsql/osm2pgsql --create --slim --drop 
-C 20000 --number-processes 4 \
--flat-nodes ~/osm/flat.nodes \
-S ~/osm2pgsql/default.style --hstore --multi-geometry \
~/osm/planet-latest.osm.pbf
```
I get the following error:
```
Going over pending ways...
Maximum node in persistent node cache: 2297430015
        110203098 ways are pending

Using 4 helper-processes
WARNING: Failed to fork helper process 1: Cannot allocate memory. Trying to recover.
WARNING: Failed to fork helper process 2: Cannot allocate memory. Trying to recover.
WARNING: Failed to fork helper process 3: Cannot allocate memory. Trying to recover.
Mid: loading persistent node cache from /mnt/flat/flat.nodes
Maximum node in persistent node cache: 2297430015
Helper process 0 out of 1 initialised
```

m2.2xlarge has 34.20GB of memory

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/90
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20130928/a70b89f1/attachment.html>


More information about the Tile-serving mailing list