Giter VIP home page Giter VIP logo

Comments (8)

AliFlux avatar AliFlux commented on May 22, 2024

Hi

You can try downloading maps in different rectangle segments. The code is resume-supported and ignores tiles if they are already there.

But for an actual fix, can you try profiling via your browser to see what exactly is slowing it down?

from maptilesdownloader.

Exscotticus avatar Exscotticus commented on May 22, 2024

The slow down is not as much of an issue as the app eventually crashing. I think they're related; I think it's running out of memory.

Are you able to download 100k tiles in one go? I can't. Crashes.

Let's say I'm using Chrome. What exactly would you like me to test?

from maptilesdownloader.

AliFlux avatar AliFlux commented on May 22, 2024

Can you elaborate on what is crashing? I assume that the chrome UI crashes. In that case, can you use system monitor or task manager to show the memory/CPU graph while downloading?

from maptilesdownloader.

Exscotticus avatar Exscotticus commented on May 22, 2024

The culprit is "Google Chrome Helper (Renderer)".

I watched it double in memory usage and eventually consume 102.66% of CPU before it crashed.

from maptilesdownloader.

AliFlux avatar AliFlux commented on May 22, 2024

I'll have to check into that. I just downloaded about 10k tiles and it worked fine, will try a bigger subset

from maptilesdownloader.

Exscotticus avatar Exscotticus commented on May 22, 2024

As I mentioned, you need to try more than 50k for the issue to manifest.

I'm trying a different browser.

from maptilesdownloader.

Exscotticus avatar Exscotticus commented on May 22, 2024

I tried Firefox and exceeded 200k files. As far as I'm concerned, this isn't a coding issue; it's web browser issue. I'm closing the issue.

from maptilesdownloader.

lade043 avatar lade043 commented on May 22, 2024

I stumbled upon the same issue when downloading large amounts (+250k) of tiles. I use Firefox 79.0 on Ubuntu. Firefox is using with just this tab open in the end 15 of 16 GB of memory in my system and thus crashing the entire system.
I also use a modded version of log-view, but it still crashes at around 250 000 downloaded tiles.

I'm now doing it in multiple segments but a fix would be nice.

from maptilesdownloader.

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.