Skip to content

nc_create("file://foo.zarr#mode=nczarr,noxarray", 0, &ncid) consumes all memory #2573

@opoplawski

Description

@opoplawski

We are seeing this with netcdf 4.9.0 and current git main head on Fedora Rawhide. The following is a simple reproducer:

#include <netcdf.h>

int main(int argc, char **argv) {
   int ncid;
   nc_create("file://foo.zarr#mode=nczarr,noxarray", 0, &ncid);
}

This is derived from a test in python-xarray - an issue was initially raised there: pydata/xarray#6854

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions