OpenDroneMap / ODM

A command line toolkit to generate maps, point clouds, 3D models and DEMs from drone, balloon or kite images. 📷
https://opendronemap.org
GNU Affero General Public License v3.0
4.81k stars 1.09k forks source link

Feature Request : Verbose Output when Out of Memory #1784

Open JohnHadish opened 1 month ago

JohnHadish commented 1 month ago

The docker image fails quietly when the user runs out of memory. There is no output which indicates why the program has failed. This makes it difficult to diagnose. In contrast, webODM produces an "Out of Memory" error message for the user.

If possible, it would be nice for ODM to throw an error which just says "OUT OF MEMORY" so that the user can more easily diagnose the issue.

pierotofy commented 1 month ago

We already try to output a message (see https://github.com/OpenDroneMap/ODM/blob/master/stages/odm_app.py#L100) but what often happens is that the program is terminated (due to out of memory) before we can do anything about it.

I don't think it can be fixed.