I have written a piece of code and to test it i am calling function named "Comment" for n number of time with some input , where n = 2000000000 but seems to be giving error
Python version = 2.7.6
Piece of code:-
for i in range(2000000000):
inp = getlis(input1)
print inp,input2,Comment(inp,input2)
inp = []
Output:-
Traceback (most recent call last):
File "cha.py", line 103, in <module>
for i in range(200000000):
MemoryError
Limit of range in python causing issue.
iin your loop?iin your code anywhere.