GithubHelp home page GithubHelp logo

Comments (7)

j avatar j commented on August 27, 2024

Update: Attempted on a 32 core 248 GB VM and it still gets to a point where it's processing extremely slow. I got to 25 GB fast then after that stalls.

from pmtiles.

j avatar j commented on August 27, 2024

Update 2: Attempted to not compress, file writing stalls around 20GB with 100% CPU usage and 8% memory usage.

from pmtiles.

bdon avatar bdon commented on August 27, 2024

The python writer isn't particularly optimized for large use cases, but ideally it should work - that seems like too much ram consumption. What is the total # of tiles in the source (mbtiles?) and are there many duplicates?

from pmtiles.

j avatar j commented on August 27, 2024

from pmtiles.

bdon avatar bdon commented on August 27, 2024

OK, thanks for the report. So it sounds like this isn't a hang. The progress bar might be nice but I don't think there's a clean way to add it to this program without introducing more dependencies. It's likely either collecting deduplication hashes is taking up more and more time (hundreds of millions of hashes) which we could solve by limiting the hash to only tiles smaller than a certain size, or the sorting/pyramid construction takes too much time/ram.

from pmtiles.

j avatar j commented on August 27, 2024

from pmtiles.

bdon avatar bdon commented on August 27, 2024

Go-pmtiles is now the preferred way to convert from mbtiles, which should be much more memory-efficient and shows a progress bar.

from pmtiles.

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.