Agisoft Metashape

Agisoft Metashape => General => Topic started by: AndyVirt on November 18, 2021, 01:52:23 AM

Title: Build Mesh - Out of Memory
Post by: AndyVirt on November 18, 2021, 01:52:23 AM
Really sorry - I know this has been asked before but I don't see a (straight) answer.

So, building a mesh from Dense cloud, surface type: Arbitrary (3d), Face count: High (26 million).

32GB RAM
1080Ti

Version 1.7.5 build 13229

In preferences, GPU is enabled, "Use CPU" is not.

I'm after the best mesh possible so if those settings are not the best choice, please tell me.

Any advice is gratefully appreciated. 
Title: Re: Build Mesh - Out of Memory
Post by: AndyVirt on November 18, 2021, 02:02:39 AM
And now on medium Face count (8.8 million):

"Not enough memory"
Title: Re: Build Mesh - Out of Memory
Post by: cbnewham on November 18, 2021, 12:38:18 PM
I always found this to be a problem using the dense cloud.

You can export the dense cloud, reduce the number of points in a cloud editor, and then import it back in to MS.

Or use depth maps and dispense with the dense cloud.

I use the latter because the results are superior, it takes less time, and there are no OOM problems.

Title: Re: Build Mesh - Out of Memory
Post by: Alexey Pasumansky on November 18, 2021, 02:14:22 PM
Hello AndyVirt,

You can try version 1.8 pre-release that uses different mesh generation method for the dense cloud source option and works out-of-core, thus you shouldn't face "not enough memory" problem.
Title: Re: Build Mesh - Out of Memory
Post by: AndyVirt on November 22, 2021, 01:56:50 PM
Thanks @cbnewham - changing to depth maps worked and looked OK to me.

Will try 1.8, thanks @Alexey Pasumansky.
Title: Re: Build Mesh - Out of Memory
Post by: AndyVirt on November 22, 2021, 02:38:58 PM
Hello AndyVirt,

You can try version 1.8 pre-release that uses different mesh generation method for the dense cloud source option and works out-of-core, thus you shouldn't face "not enough memory" problem.

Deleted.