Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make GDAL use 50% of the available memory when cropping #786

Merged
merged 3 commits into from Mar 20, 2018

Conversation

giovannicimolin
Copy link
Contributor

@giovannicimolin giovannicimolin commented Mar 19, 2018

Adds --config GDAL_CACHEMAX X% to gdal_translate and gdal_warp stages when generating odm_orthophoto, where X% is half the available free memory.

Mainly improves performance on IO bottleneck when cutting/translating big images.

Closes #778.

Info about library used for querying available resources:
https://github.com/giampaolo/psutil

@pierotofy
Copy link
Member

That's awesome, thanks @giovannicimolin !

@pierotofy pierotofy merged commit afe95b5 into OpenDroneMap:master Mar 20, 2018
peddyhh pushed a commit to peddyhh/ODM that referenced this pull request Jun 7, 2020
…erformance

Make GDAL use 50% of the available memory when cropping

Former-commit-id: afe95b5
pierotofy added a commit that referenced this pull request Sep 21, 2020
Make GDAL use 50% of the available memory when cropping

Former-commit-id: afe95b5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants