niknah I compiled your fix in Ubuntu 10.04 locally and created this simple script to compare:
x = 0
while x < 200:
if exists(image):
print "Found!"
else:
print "Not found!"
x = x + 1
After the 200 exists() calls the 10.1 version of sikuli had climbed to about 320MB of memory used while the version with you patch applied started at and stayed very close to 140MB.
I'm trying to setup a development platform in Windows as well to test it as ultimately that is the platform I need to run it one but it seems I'm hitting compiler errors that may be setup issues on my part. If I do get a chance to test it in windows I will run it through my suite of unit tests I wrote.
niknah I compiled your fix in Ubuntu 10.04 locally and created this simple script to compare:
x = 0
while x < 200:
if exists(image):
print "Found!"
else:
print "Not found!"
x = x + 1
After the 200 exists() calls the 10.1 version of sikuli had climbed to about 320MB of memory used while the version with you patch applied started at and stayed very close to 140MB.
I'm trying to setup a development platform in Windows as well to test it as ultimately that is the platform I need to run it one but it seems I'm hitting compiler errors that may be setup issues on my part. If I do get a chance to test it in windows I will run it through my suite of unit tests I wrote.