← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #240919]: Long term sikuli test

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Sikuli itself is rather reliable now with regards to having no memory
leaks (no real problem currently known).

When using long running complex Jython scripts, Java heap space might be a problem, caused by too much global stuff holding big data (images in memory) or other stuff that does not get eligible for garbage collection for some reason.
Increasing the Java heap space maximum to a suitable value (the bundled command scripts use -Xmx512M). On machines with enough memory this might be raised to -Xmx2048M.

Usually the problem with long running tests is, that on the way things
happen on the screen, that are not foreseen in the workflow and might
lead to a crash (popups, machine slows down caused by system processes,
network speed slows down, ...)

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.