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

Single file tiff import leads to storage full #1208

Open
normanrz opened this issue Nov 4, 2024 · 0 comments · May be fixed by #1212
Open

Single file tiff import leads to storage full #1208

normanrz opened this issue Nov 4, 2024 · 0 comments · May be fixed by #1212
Assignees
Labels
Milestone

Comments

@normanrz
Copy link
Member

normanrz commented Nov 4, 2024

Converting a single tiff file can lead to filling up the storage of a computer. It occurs, when mem-mapping of the tiff file fails.
In that case a new file is created where the data is being copied. That is suboptimal. Even worse, this is happening in the constructor which is called multiple times. I believe the copying should be avoided and the logic in get_frame_2D changed so that the necessary pages are loaded on-demand.

@normanrz normanrz added the bug label Nov 4, 2024
@normanrz normanrz linked a pull request Nov 14, 2024 that will close this issue
4 tasks
@normanrz normanrz added this to the 2.x milestone Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants