📌 Problem
Attempting to run Agisoft Ortho Mapping results in the, "Exception: cudaMemGetInfo(&free_mem_size, &total_mem_size): out of memory (2) at line 40(free memory unknown: out of memory (2))"
đź§ What does that mean
The error indicates that Metashape, which is a CUDA-enabled application (uses a GPU for computation), when available, is running out of available GPU memory.
🔍 Common Causes
- Data too large: You're trying to load a dataset that exceeds the available GPU memory.
- Memory fragmentation: Even if total memory is sufficient, fragmented memory can prevent large allocations.
- Memory leak: Previous operations may not have released memory properly.
- Multiple processes: Other applications or processes may be using the GPU.
âś… Probable Resolutions
-
Check GPU Memory Usage
- Use the GPU monitoring in task manager (Windows) to see how much memory is being used and by which processes.
-
Free Up GPU Memory
- Before running Agisoft Ortho Mapping
, close other GPU-intensive apps.
- Sometimes lingering memory allocations can only be cleared by restarting the machine.
- Before running Agisoft Ortho Mapping
-
Reduce Processing Load
- Lower image resolution before processing.
- Use fewer images if possible.
-
Downscale depth maps: Try increasing the
downscalevalue (e.g., 4 or 8) to reduce memory usage.
📬 Need Help?
If you're still stuck, please Contact Support for assistance.
Comments
0 comments
Please sign in to leave a comment.