geo-data / cesium-terrain-builder

A C++ library and associated command line tools designed to create terrain tiles for use in the Cesium JavaScript library
Other
713 stars 341 forks source link

When create layer description file, ctb-tile core dump #90

Open tingzhenli opened 4 years ago

tingzhenli commented 4 years ago

In my centos7(memory:32G):

  1. docker run -it --name ctb -v "/data/maping/to3dtile/dsm":"/data" tumgis/ctb-quantized-mesh
  2. ctb-tile -f Mesh -C -N -o out dsm.tif note: the dsm.tif is 82MBytes from opendronemap
  3. It uses 2minutes to finish the above process
  4. ctb-tile -f Mesh -C -N -l -o out dsm.tif
  5. The computer memory used by ctb-tile increase to > 90% and core dump
  6. Test data
tingzhenli commented 4 years ago

I fix it:

  1. ctb-tile -f Mesh -C -N -l -o out dsm.tif ====> ctb-tile -c 1 -f Mesh -C -N -l -o out dsm.tif so, there must has a mulit-thread problem.
yogi-as commented 4 years ago

@tingzhenli thank you for the workaround, I've been struggling with this core dump issue for a while