[issue40230] Itertools.product() Out of Memory Errors
Raymond Hettinger
report at bugs.python.org
Fri Apr 10 06:27:12 EDT 2020
Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:
> when I moved to testing on non-trivial graphs, I immediately had
> Out of Memory Errors.
I'm going to hazard a guess that the input to product() was a graph traversal iterator that got trapped in an undetected cycle. Feeding an infinite iterator into product() would eat all available memory, just as it would with list().
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40230>
_______________________________________
More information about the Python-bugs-list
mailing list