-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
A simple statement like
key, value = db.each(reversed: true).firstwill leak an iterator and therefore open file descriptors. (even if the db is closed) Doing enough of these and your Ruby process crashes because it exhausts your file ulimit.
We would need an explicit iterator interface or at the very least a #close method on the iterator so that the open files can be closed.
Metadata
Metadata
Assignees
Labels
No labels