colmap / glomap

GLOMAP - Global Structured-from-Motion Revisited
BSD 3-Clause "New" or "Revised" License
1.3k stars 76 forks source link

Out Of Memory Error #78

Open dbs4261 opened 3 weeks ago

dbs4261 commented 3 weeks ago

Hi folks I'm trying to test Glomap with a very large dataset (~7000 images) and I am getting out of memory killed fairly late in the global positioning step. Are there any options I can tweak to lower the peak memory footprint?

ahojnnes commented 2 weeks ago

You could bound the number of tracks in the problem using --TrackEstablishment.max_num_tracks.

dbs4261 commented 2 weeks ago

Does that limit the number of tracks per image, or globally? Would limiting the minimum track length to 4 or 5 help as well just as another heuristic for limiting the number of tracks?