← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #691654]: [2.0.4] possible memory leak with long running scripts

 

Question #691654 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/691654

RaiMan proposed the following answer:
... or you might trigger the garbage collection directly inside the
script:

import java.lang.System as JSYS # at beginning of main script

JSYS.gc() # at loop start or loop end

... or somewhere else, where it makes sense.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.