-
Notifications
You must be signed in to change notification settings - Fork 28
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
Too many open files #135
Comments
The |
Hmm so NetCDF.open has a finalizer attached, so it will be closed after it becomes unreachable and the GC is run. This is not really deterministic however, so I can imagine an explicit close still being useful here. But perhaps what you'd want here is to use NetCDF.open in a do block? That closes directly after the do block ends. |
Ah I see, so if I actually open many files in a short time (as I only pull little data from each), I can still end up in a |
Yeah indeed, there is no guarantee that you cannot hit that error. But I'm thinking perhaps it would be good to un-deprecate |
Despite using NetCDF.jl v0.11 I just got this error
while looping over several hundreds of those
How can there be too many open files when
NetCDF.close
is deprecated?The text was updated successfully, but these errors were encountered: