diff --git a/lib/request/comparison.py b/lib/request/comparison.py index b3d76ea27..7028b364f 100644 --- a/lib/request/comparison.py +++ b/lib/request/comparison.py @@ -128,9 +128,16 @@ def _comparison(page, headers, code, getRatioValue, pageLength): count += 1 else: break + if count: - seq1 = seq1[count:] - seq2 = seq2[count:] + try: + _seq1 = seq1[count:] + _seq2 = seq2[count:] + except MemoryError: + pass + else: + seq1 = _seq1 + seq2 = _seq2 while True: try: