Forge 查看器与 Potree 点云大内存泄漏

Forge viewer with Potree point cloud big memory leak

我对在线示例中使用的 Potree 点云方法有疑问。 我们有一个 Potree 模型,大小为 6GB,有时甚至高达 100GB,当在 Forge 中显示时,内存不断增加,直到查看器崩溃,我们可以做些什么来解决这个问题?

您可以限制Potree在任何时间点保存在内存中的点数:

Potree.Global.pointLoadLimit = 1000 * 1000; // limit the number of points to 1 million

看起来默认值是10,000,000,000