Forum

Author Topic: GPU GTX 3060 is low on memory at 12 GB  (Read 6532 times)

Dieter

  • Full Member
  • ***
  • Posts: 241
    • View Profile
GPU GTX 3060 is low on memory at 12 GB
« on: February 23, 2024, 01:36:34 PM »
No matter what I try, Metashape doesn't manage to compute the mesh with high resolution in a project with photos and laser scans.

See error message at the end of the log:
2024-02-23 11:25:10 device NVIDIA GeForce RTX 3060 ignored because it has 11020/12287 MB available, but 11489 MB required.

What can I do?


Dieter

Dieter

  • Full Member
  • ***
  • Posts: 241
    • View Profile
Re: GPU GTX 3060 is low on memory at 12 GB
« Reply #1 on: February 26, 2024, 08:06:10 PM »
Is there a solution or workaround for the problem?


Dieter

Corensia

  • Jr. Member
  • **
  • Posts: 64
    • View Profile
Re: GPU GTX 3060 is low on memory at 12 GB
« Reply #2 on: February 28, 2024, 07:14:53 AM »
Other than the obvious solutions of buying a GPU with more memory or lowering the resolution, maybe you can try reducing the work area if some parts aren't necessary which could reduce the amount of memory needed to process the mesh.

Dieter

  • Full Member
  • ***
  • Posts: 241
    • View Profile
Re: GPU GTX 3060 is low on memory at 12 GB
« Reply #3 on: February 28, 2024, 10:40:40 AM »
Yes, that's how I did it in the end, I split the model into 15 parts and then put the individual parts back together, that was a big effort. At some point, I have to finish my work;) But it must be possible to split such calculations into smaller parts so that this does not happen.
Elsewhere here in the forum I have read that the standard of free space of the GPU was then simply lowered by programming to make a calculation, my question is whether this would also be possible at this point?

Dieter

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15407
    • View Profile
Re: GPU GTX 3060 is low on memory at 12 GB
« Reply #4 on: February 28, 2024, 10:42:05 AM »
Hello Dieter,

According to the log, model doesn't fit the available VRAM, since the depth data related to the laser scan only required 8800 MB.

Do you work with extra large laser scans or high-resolution imagery? Can you please specify the approximate number of points per scan (and max number of points) and resolution of the images used?
Best regards,
Alexey Pasumansky,
Agisoft LLC

Dieter

  • Full Member
  • ***
  • Posts: 241
    • View Profile
Re: GPU GTX 3060 is low on memory at 12 GB
« Reply #5 on: February 28, 2024, 12:23:33 PM »
It is a 25 meter high wooden tower, which was measured from above with 1229 photos and from below with 25 laser scans. The tower is to be demolished and rebuilt later.

The photos have a resolution of 5280*3956, the scans vary between 42 million and 120 million points in 360 degrees. I only scanned sections of the tower and also cropped the point cloud in the metashape. The resolution of the dots varies between 2 mill and 120 mill points.

Dieter


dpitman

  • Sr. Member
  • ****
  • Posts: 256
    • View Profile
Re: GPU GTX 3060 is low on memory at 12 GB
« Reply #6 on: February 29, 2024, 06:08:13 AM »
I don't know if this would be appropriate for this problem. Maybe worth a look.

https://youtu.be/BYRIC-qkZJ8?si=F4JSmeEOD2BZfNPX

Dieter

  • Full Member
  • ***
  • Posts: 241
    • View Profile
Re: GPU GTX 3060 is low on memory at 12 GB
« Reply #7 on: February 29, 2024, 09:14:40 PM »
Thanks for the tip, that's an interesting aspect with network processing.

However, when I look at the protocols, as far as I can tell, the non-network version of my application (wooden tower) does the same thing as the network version. Nodes are formed, which are then processed one after the other.

In the end, it didn't work for me, the error with the too low memory came after 2h 40min :(



Dieter

dpitman

  • Sr. Member
  • ****
  • Posts: 256
    • View Profile
Re: GPU GTX 3060 is low on memory at 12 GB
« Reply #8 on: March 01, 2024, 01:33:16 AM »
That's too bad.