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
Open

Single file tiff import leads to storage full #1208

normanrz opened this issue Nov 4, 2024 · 0 comments
Assignees
Labels

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants