Code Monkey home page Code Monkey logo

Comments (4)

moosehill avatar moosehill commented on June 8, 2024 1

@adrpar Thanks for the additional information -- I've increased Docker memory to 27GB and it still fails, but it is getting much further than previously. I will continue to play with Docker settings to see if I can get it to complete. (Also, I need new glasses because I thought the dataset was 5000x4000 when it is actually 100X larger than that. Now I understand why you immediately suspected memory was the problem.)

from tin-terrain.

adrpar avatar adrpar commented on June 8, 2024

Hi @moosehill,

thank you for reaching out and trying tin-terrain. I would like to understand more about the reason for tin-terrain to be killed by the OS.

The dataset you are using, is it this one I found on this Icelandic page? https://vefthjonustur.wordpress.com/thrividd/ ?

Second, how much memory does your machine have?

I suspect that tin-terrain runs out of memory, but I want to test this first and eventually rule that possibility out, before we start digging deeper.

Thanks for providing this information.

from tin-terrain.

moosehill avatar moosehill commented on June 8, 2024

Hi @adrpar,

Yes, that's the dataset, but I also used gdalwarp per the instructions in the README to convert to Mercator.

My system has 32GB. I watched the Activity Monitor while running tin-terrain and "memory used" never exceeded 24GB with memory pressure shown as about 30%.

Thanks for looking at this.

from tin-terrain.

adrpar avatar adrpar commented on June 8, 2024

I was able to reproduce the issue and it is lies in how Docker runs on Mac. The VM that contains Docker (docker-machine) only has 2GB memory in its default mode. Therefore tin-terrain runs out of memory quite fast.

You can increase the memory by following these instructions here: https://docs.docker.com/docker-for-mac/#advanced

Or you try compiling tin-terrain natively on the Mac without Docker. If you need help with that, let me know.

from tin-terrain.

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.