OpenDroneMap / WebODM

User-friendly, commercial-grade software for processing aerial imagery. 🛩
https://www.opendronemap.org/webodm/
GNU Affero General Public License v3.0
2.76k stars 922 forks source link

Memory error #1513

Closed dazlab closed 1 month ago

dazlab commented 1 month ago

Whoops! You ran out of memory!

On a local node machine with: i9-14900KS 192GB RAM RTX 4090

Whilst running through densification, task manager shows no memory overflow, so seems to be a bug rather than a limitation.

Settings used:

WebODM Windows 2.4.2

999 images no resize auto-boundary:true crop:2 dem-res:10 dsm:true force-gps:true ortho-res:1 pc-quality:high

LOG OUTPUT:

===== Dumping Info for Geeks (developers need this to fix bugs) ===== Child returned 3221226505 Traceback (most recent call last): File "D:\WebODM\resources\app\apps\ODM\stages\openmvs.py", line 105, in process run_densify() File "D:\WebODM\resources\app\apps\ODM\stages\openmvs.py", line 100, in run_densify system.run('"%s" "%s" %s' % (context.omvs_densify_path, File "D:\WebODM\resources\app\apps\ODM\opendm\system.py", line 112, in run raise SubprocessException("Child returned {}".format(retcode), retcode) opendm.system.SubprocessException: Child returned 3221226505

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "D:\WebODM\resources\app\apps\ODM\stages\odm_app.py", line 82, in execute self.first_stage.run() File "D:\WebODM\resources\app\apps\ODM\opendm\types.py", line 471, in run self.next_stage.run(outputs) File "D:\WebODM\resources\app\apps\ODM\opendm\types.py", line 471, in run self.next_stage.run(outputs) File "D:\WebODM\resources\app\apps\ODM\opendm\types.py", line 471, in run self.next_stage.run(outputs) [Previous line repeated 1 more time] File "D:\WebODM\resources\app\apps\ODM\opendm\types.py", line 450, in run self.process(self.args, outputs) File "D:\WebODM\resources\app\apps\ODM\stages\openmvs.py", line 117, in process run_densify() File "D:\WebODM\resources\app\apps\ODM\stages\openmvs.py", line 100, in run_densify system.run('"%s" "%s" %s' % (context.omvs_densify_path, File "D:\WebODM\resources\app\apps\ODM\opendm\system.py", line 112, in run raise SubprocessException("Child returned {}".format(retcode), retcode) opendm.system.SubprocessException: Child returned 3221226505

===== Done, human-readable information to follow... =====

[ERROR] Whoops! You ran out of memory! Add more RAM to your computer, if you're using docker configure it to use more memory, for WSL2 make use of .wslconfig (https://docs.microsoft.com/en-us/windows/wsl/wsl-config#configure-global-options-with-wslconfig), resize your images, lower the quality settings or process the images using a cloud provider (e.g. https://webodm.net).

github-actions[bot] commented 1 month ago

Thanks for the report, but it looks like you didn't include a copy of your dataset for us to reproduce this issue? Please make sure to follow our issue guidelines :pray:

p.s. I'm just an automated script, not a human being.