Skip to content

Out of memory - Infinite recursion #99

@jm9176

Description

@jm9176

On Windows, if I run the following command then I get an internal error (after 2-3 mins while MATLAB remains in busy mode)

>> zarrcreate('s3://invalid/bucket/path',[10 10])
Out of memory. The likely cause is an infinite recursion within the program.

Error in fileparts>legacyPCExecution (line 163)
    ind = find(file == '/' | file == '\', 1, 'last');
                           ^

In case I use the same input with zarrread function, then I atleast get an expected error after ~30 secs (MATLAB remains in busy mode during that period).

>> zarrread('s3://invalid/bucket/path')
Error using Zarr/read (line 192)
Invalid file path. File path must refer to a valid Zarr array.

Error in zarrread (line 15)
data = zarrObj.read;
       ^^^^^^^^^^^^
 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions