Git Product home page Git Product logo

Comments (3)

m-schuetz avatar m-schuetz commented on August 22, 2024

Did you try the latest develop branch? There was quite a nasty memory leak that's been fixed: 1ab1109

With that version, I processed 6billion points with an output of 625m points yesterday.

Another possibility are bad values for spacing / levels. What values did you choose?
And the current output in the data directory, how much files does it contain and how large is data/r and what's the largest file? I usualy try to set spacing so that the largest file is <1mb and r is around 200-800kb. This requires a little trial and error.

from potreeconverter.

qdnguyen avatar qdnguyen commented on August 22, 2024

I think i used this version https://github.com/potree/PotreeConverter/archive/master.zip

the patch 1ab1109 seem not related to my case, because you fixed the problem in BINPointReader.cpp, and i did use it to load my files, we have our own reader for lidarformat here https://code.google.com/p/lidarformat/

i have modified your code to intergrate it into my project but nothing change in PotreeWriter.

PotreeConverter pc(outdir, spacing, levels, format, range, outFormat);
pc.initilize(proj);
PotreeWriter writer(outdir, pc.getAABB(), spacing, levels, outFormat);

from potreeconverter.

m-schuetz avatar m-schuetz commented on August 22, 2024

the patch 1ab1109 seem not related to my case, because you fixed the problem in BINPointReader.cpp, and i did use it to load my files

If you've used BIN output, which is the default, then the BINPointReader is used as well. The points that are written to disk have to be read back to memory from time to time, in order to do the point distance checks. With the patch, memory usage goes down significantly in the long run.

Another possibility is that your points are unordered and all over the place. In that case, the current out of core approach breaks and all nodes are kept in memory. To improve this, you have to make sure that continuous points have a certain locality, for example by splitting your point cloud into smaller tiles. You can use tools like lastile with the -tile_size option to create smaller tiles. To convert all the tiles, put them into a directory and use the directory as input for the PotreeConverter.

from potreeconverter.

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.