Closed arturponinski closed 2 years ago
The problem description does not describe a "memory leak" Perhaps something like "Generator support in fromdicts requires large amounts of memory" would be a more appropriate title?
Fair point, description updated
The PR: https://github.com/petl-developers/petl/issues/569 which introduced generators support in
fromdicts
has increased memory usage on our production instances.Problem description
Per
itertools.tee
docs:This most likely is the cause. Due to this, the generator support should:
fromdictsgenerator
SortView
does