GithubHelp home page GithubHelp logo

Comments (4)

karussell avatar karussell commented on June 1, 2024

We need a small reproducer otherwise we won't be able to investigate it. Also it should target the latest GraphHopper version.

I do not see how the pillar node can be so high for just Europe that the integer overflows .... but you can try to change the version 5.3 and e.g. throw an exception when nextPillarId is negative and/or even better try to merge this PR which avoids early overflow of this integer (integrated in 8.x).

from graphhopper.

Coneys avatar Coneys commented on June 1, 2024

I am trying to rewrite project to 8.0 (btw are there any migration guides between major versions? I could not find any) but I'm pretty sure it will work there because 8.0 is using long.

I am also sure that it has to be integer overflow because there is no code that could change "nextPillarId" to negative. Last log with node count supports this:

Creating graph. Node count (pillar+tower): 3021864391, totalMB:204800, usedMB:157422

Given max int as 2147483647 there had to be overflow in pillar or tower and logs shows that pillar is the one

This is Europe file with 7 encoders and elevation data.

from graphhopper.

karussell avatar karussell commented on June 1, 2024

There are no migration guides unfortunately. Feel free to document your process in detail and I'll try to suggest improvements etc so that others can use it as a migration guide.

from graphhopper.

karussell avatar karussell commented on June 1, 2024

This should be fixed with #2978

from graphhopper.

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.