Closed GoogleCodeExporter closed 8 years ago
Can you tell us how long your script typically runs before the heap space runs
out? minutes or hours? thanks!
Original comment by pilyo...@gmail.com
on 23 Nov 2012 at 1:46
Roughly 10 minutes. At that time the process has consumed 300MB.
Original comment by johan.pa...@gmail.com
on 23 Nov 2012 at 4:48
Original comment by doubles...@gmail.com
on 24 Nov 2012 at 1:41
Please try the latest snapshot jar:
http://code.google.com/p/sikuli-api/downloads/detail?name=sikuli-api-1.0.3-stand
alone-SNAPSHOT.jar
It has been tested on the following code for several hours successfully without
a memory error. Please confirm it works fine on your code too.
{{{
ScreenRegion s = new DesktopScreenRegion();
while (true){
Target target = new ImageTarget(new File("large.png"));
s.wait(target, 100);
s.findAll(target);
}
}}}
Original comment by doubles...@gmail.com
on 26 Nov 2012 at 1:41
My code has been running for more then 24h now and it seems to work as it is
supposed to do, without any memory leaks. Thank you very much for the quick
response!
Original comment by johan.pa...@gmail.com
on 27 Nov 2012 at 8:01
Hi! I have the same leak with 1.0.2, tried with 1.0.3 and seems to work fine.
I checked out the source repository
https://bitbucket.org/doubleshow/sikuli-api/ and found no commits releated with
this issue. Can you explain the root cause of the leak? When are you planning
to release officially this fix? (1.0.3 seems to be deprecated)
BTW, I think that the Issue#20 is similar to this one.
Thanks in advance!
fef.-
Original comment by feferr...@gmail.com
on 5 Feb 2013 at 8:36
Original issue reported on code.google.com by
johan.pa...@gmail.com
on 23 Nov 2012 at 10:37