1 #!/usr/bin/env python 2 3 import cv2.cv as cv 4 import math 5 import time 6 7 N=50000 8 print "leak4" 9 while True: 10 seq=list((i*1., i*1.) for i in range(N)) 11 cv.Moments(seq) 12