You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
version netcdf: 4.9.0
OS: macos Ventura
compiler: Apple clang version 14.0.0 (clang-1400.0.29.202)
opening certain netcdf-files and closing them allocates memory without deallocating said memory when closing those files.
I have done the same on my arch linux machine with netcdf 4.9.0-3 and hdf5 1.12.2-1 with a limited amount of loop repetitions: 10^6 results in a memory size of 385 MiB and 10^4 repetitions results in 57.1 MiB.
Valgrinding the 10^4 repetions with valgrind --leak-check=full --show-reachable=yes resulted in repetions10000.
Running valgrind with the same options on the infinite loop and interrupting after ~1h results in this output: resultsInfinteInteruppted.
version netcdf: 4.9.0
OS: macos Ventura
compiler: Apple clang version 14.0.0 (clang-1400.0.29.202)
opening certain netcdf-files and closing them allocates memory without deallocating said memory when closing those files.
From https://www.unidata.ucar.edu/software/netcdf/examples/files.html only
test_echam_spectral-deflated.nc
,OMI-Aura_L2-example.nc
andtest_hgroups.nc
show this behaviour.Sample-code:
after about 10 min I had about 65MiB heap usage according to the XCode-profiler.
The text was updated successfully, but these errors were encountered: