Comment 43 for bug 575585

Revision history for this message
RaiMan (raimund-hocke) wrote : Re: Memory leak in Sikuli 0.10 crashes long scripts

On Mac 10.6.4 I confirm both observations:

1. steady grow of memory consumption with a small pattern containing only text:
import time
while True:
 m = exists(--- image of the text RaiMan ---, 0)
 if not m:
    break
 print time.strftime("%S"), m
switchApp("Sikuli-IDE")

on my MacBook Air 1,86GHz, 2GB there where 2 find()'s per second on average

the image: the text "RaiMan" in the upper right corner of Launchpad bugs giving:
Match[990,122 57x21] score=1,00

After 70 seconds the memory consumption increased by about 100+ MB (about 150 find()'s)

2. after forcing a FindFailed the memory usage starts on rerun with the value at the exception before.