Forum

Author Topic: memory consumption of BuildOrthomosaic.buildPartition stage  (Read 2300 times)

MichalDV

  • Newbie
  • *
  • Posts: 27
    • View Profile
memory consumption of BuildOrthomosaic.buildPartition stage
« on: October 21, 2021, 07:58:03 PM »
Hi guys,

do you have any tip on how to reduce memory impact of buildPartiton stage of Ortho generation? my project is chewing up more than 350GB of virtual memory  :o

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14847
    • View Profile
Re: memory consumption of BuildOrthomosaic.buildPartition stage
« Reply #1 on: October 21, 2021, 08:36:45 PM »
Hello MichalDV,

What parameters were used for the Build Orthomosaic stage and which version of Metashape you are using?
Best regards,
Alexey Pasumansky,
Agisoft LLC

MichalDV

  • Newbie
  • *
  • Posts: 27
    • View Profile
Re: memory consumption of BuildOrthomosaic.buildPartition stage
« Reply #2 on: October 21, 2021, 08:45:18 PM »
Hi Alexey,

settings are:
projection = WGS 84, surface = DEM, blending mode = Mosaic, refine seamlines = 0, ghosting filter = 1, pixel size = 1.56575e-07 x 1.00651e-07

version is 1.7.5 b 13229 64bit on windows.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14847
    • View Profile
Re: memory consumption of BuildOrthomosaic.buildPartition stage
« Reply #3 on: October 21, 2021, 09:28:55 PM »
Hello MichalDV,

Than you for providing the processing task parameters. Can you please confirm, if the RAM consumption is normal, if you disable ghosting filter option?

Additionally please specify the expected size of the orthomosaic in pixels, number of images in the project and image dimensions in pixels, DEM resolution in m/pix and number of CPU cores of the computer used for the processing.
Best regards,
Alexey Pasumansky,
Agisoft LLC

MichalDV

  • Newbie
  • *
  • Posts: 27
    • View Profile
Re: memory consumption of BuildOrthomosaic.buildPartition stage
« Reply #4 on: October 21, 2021, 09:58:43 PM »
There is 9160 images with resolution of 8192x5460, flown with DJI P1 camera, DEM has 4 447 Mpix, we have 32 cpu cores (Ryzen 5950x) Estimated ortho dimensions are 144523x123063

Our goal is to hit resolution something around 1cm/px
I will try disabling ghosting filter and get back to you.

MichalDV

  • Newbie
  • *
  • Posts: 27
    • View Profile
Re: memory consumption of BuildOrthomosaic.buildPartition stage
« Reply #5 on: October 22, 2021, 01:48:25 AM »
Without ghosting filter it seem to fly through buildPartition stage with almost none ram consumed.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14847
    • View Profile
Re: memory consumption of BuildOrthomosaic.buildPartition stage
« Reply #6 on: October 22, 2021, 05:46:26 PM »
Hello MichalDV,

OK, thank you for additional information, we'll analyze the reported behavior on similar projects.
Best regards,
Alexey Pasumansky,
Agisoft LLC

Corensia

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
Re: memory consumption of BuildOrthomosaic.buildPartition stage
« Reply #7 on: February 10, 2022, 08:59:32 AM »
Hi Alexey,

We had the same issue with just 367 images taken with the DJI P1 camera and using a 128 GB RAM PC when we saw this post. Disabling ghosting filter also solved our 'not enough memory' issue.
Is this something that will be addressed in a future update or is ghosting filter not an option with DJI P1 camera images greater than 350+ or so images?

David