Raymond Hettinger <python at rcn.com> writes: > > What was really surprising is that it works with no issues up > > until 1 million items, but for say 10 million it pretty much goes > > nuts. Does anyone know why? > > There's nothing in izip() that holds memory, tracks indices, or ... The issue was with zip, not izip. It was caused by gc running too often.