- nd2 version: 0.1.4
- Python version: 3.7.10
- Operating System: Windows10
Description
I try to load selected parts of nd2 files but too much memory is allocated for the objects that need to be computed. As a consequence, it fails to load objects that are bigger than ~4 times available memory.
What I Did
Test on a time lapse experiment:

Test on a single time point big image:

In the second example the memory allocation is correct when it has to compute the whole file.
It may be related to the problem of calculating object size incorrectly as shown here:

Description
I try to load selected parts of nd2 files but too much memory is allocated for the objects that need to be computed. As a consequence, it fails to load objects that are bigger than ~4 times available memory.
What I Did
Test on a time lapse experiment:

Test on a single time point big image:
In the second example the memory allocation is correct when it has to compute the whole file.
It may be related to the problem of calculating object size incorrectly as shown here: