Comment 11 for bug 1013396

Revision history for this message
John F Leach (jfleach) wrote :

Can one of the Sikuli/Java experts revisit this issue?

We have a simple script which is similar to the code below:

while True:
    while not exists(image_name):
        sleep(0.25)
    click(image_name)

Is there anything we can do to prevent the out of memory issue? If I add gc.collect() within the infinite loop, is it going to fix the problem? This is a major problem when anyone considers using Sikuli for stress and performance testing; adding a wrapper to re-launch Sikuli isn't acceptable.