← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #249674]: memory leak

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
I guess, this according to the Java restriction, that stuff using Swing
elements has to be run on the Java Swing event queue.

It seems, you want to see how your script proceeds using a text label in
a JFrame.

Try the following, to check wether this is the cause:
- open a command line window
- make it a small as possible, so it is out of way
- run your script from this command line after having commented out 

frame.setVisible(True)

and

 label1.text = state+"/"+str(loop count) # in your def
take care: add a pass, to make it valid with no content

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