Skip to content

built latest HEAD om Linux successfully with Cuda 12.9 and cuDSS 0.6, but getting this memory allocation error (2.2GB) - RTX 4070 with 12GB, 11GB free! #215

@hradec

Description

@hradec
-------------------------------------
Running global positioning ...                         
-------------------------------------                         
I20250923 15:22:42.866495 235250 image_undistorter.cc:20] Undistorting images..                                                                                
I20250923 15:22:42.866632 235250 image_undistorter.cc:41] Image undistortion done                                                                              
I20250923 15:22:44.559607 235250 global_positioning.cc:46] Setting up the global positioner problem                                                            
I20250923 15:23:13.587226 235250 global_positioning.cc:71] Solving the global positioner problem                                                                                                                                                                                                                               
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR                                                                   
W0000 00:00:1758666230.163597  235250 block_sparse_matrix.cc:839] cudaHostAlloc failed with status 2 while allocating 2429546448 bytes (~2.26269 GiB); falling back to pageable host memory.                                                                                                                                   
W0000 00:00:1758666297.300324  235250 levenberg_marquardt_strategy.cc:120] Linear solver fatal error: cudssExecute with CUDSS_PHASE_FACTORIZATION failed Got error: CUDSS_STATUS_ALLOC_FAILED                                                                                                                                  
E0000 00:00:1758666297.300534  235250 trust_region_minimizer.cc:97] Terminating: Linear solver failed due to unrecoverable non-numeric causes. Please see the error log for clues.                                                                                         
I20250923 15:25:13.568608 235250 global_positioning.cc:80] Ceres Solver Report: Iterations: 1, Initial cost: 1.911076e+08, Final cost: 1.911076e+08, Termination: FAILURE                   
I20250923 15:25:27.801251 235250 global_mapper.cc:87] Reconstruction done in 1039.59 seconds                                                                   
I20250923 15:25:32.107306 235250 colmap_io.cc:28] Extracting colors ...
I20250923 15:26:09.417913 235250 global_mapper.cc:92] Export to COLMAP reconstruction done        
Coarse grid occupancy: 125/125 voxels populated.

any clues?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions