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

Fixed allocating a large amount of memory with pixel coordinates #45

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

vzagorovskiy
Copy link

Fixed allocating a large amount of memory with pixel coordinates for the whole image at once.

Issue addressed

Fixes #44

Explanation

FlwdirRaster.stream crashed on a huge rasters on a machine with 16 GB or less

Checklist

  • [ x ] Updated tests or added new tests
  • [ x ] Branch is up to date with main
  • [ x ] Updated documentation if needed
  • [ x ] Updated CHANGELOG.rst if needed

Additional Notes (optional)

Tests showed successful work on large images, the speed of work on small images has not changed. The changes do not break the current program logic and do not require additional changes in the existing code.

image

image

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.

FlwdirRaster.stream crashed on a ~44000x20000 raster on a machine with 16 GB or less
1 participant