Question #692550 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/692550
RaiMan proposed the following answer:
... and this is my latest test showing memory usage:
Reg=Region(1400+0,675,365,51)
Reg.highlight(2)
import java.lang.Runtime as RT
jrt = RT.getRuntime()
print "max:", jrt.maxMemory(), "tot:", jrt.totalMemory(), "free:",
jrt.freeMemory()
for i in range(1,2000):
Reg.text()
if i % 50 == 0:
print i, "free:", int(jrt.freeMemory()/(1024 * 1024))
One can see, when GC does its job.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp