Giter VIP home page Giter VIP logo

Comments (7)

olt avatar olt commented on June 19, 2024

It's likely to little memory. Imposm makes random access to the diff and cache files and each diff operation will likely hit the disk if these files do not fit in memory (cached by the OS). How large are these files for a Europe import?
You should see high IO load during the diff import (watch wa% in top).

from imposm3.

bvbever avatar bvbever commented on June 19, 2024

The dif files for europe are about 30 MB.
The database in postgis containing the information is (configurated by my mapping file):
osm_roads is about 16 GB;
osm_industrial 0,1 GB;
osm_nature 5 GB;
osm_water 1.5 GB;
osm_residential 0.8 GB;

Should I have then > 24 GB ram for faster processing ? Or should I use a SSD ?

from imposm3.

olt avatar olt commented on June 19, 2024

I was talking about the cache files in /home/xxx/cachedir and /home/xxx/diffdir, but yes you will need IO (or free RAM for caching) for the database as well.
8GB is definitely to small for Europe. With DB and caches you will have more then 32 GB. SSD will help a lot if you don't have enough RAM.

from imposm3.

bvbever avatar bvbever commented on June 19, 2024

ok. Its about 24 GB in the cache files en diffdir.

from imposm3.

bvbever avatar bvbever commented on June 19, 2024

Or use an other machine with 32GB for running imposm3 en keep the one with 8GB with the db on it ?

from imposm3.

tartakynov avatar tartakynov commented on June 19, 2024

Is postgis database still optimized after installing diffs?

from imposm3.

olt avatar olt commented on June 19, 2024

@tartakynov That's not really related to this issue, but the clustering degrades over time.

from imposm3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.