← Back to team overview

sikuli-driver team mailing list archive

[Bug 723787] Re: Sikuli X-1.0rc2 consumes the whole CPU

 

I have a library with many functions defined, like the one pasted
bellow. I have seen this issue (high CPU consumption) various times with
the newest release. In this particular case what I did was to click on
the three patterns (pattern1, pattern2, pattern3) to change the
similarity adjustment.

After that I did not run any script and the CPU consumption for javaw
went to 99%.

Please let me know if there is any other information that might help you
understanding the issue.

--------------------
def openSelector (opt):
	if (opt == "opt_test_1"):
		doubleClick (pattern1)
	
	if (opt == "opt_test_2"):
		doubleClick (pattern2)

	if (opt == "opt_test_3"):
		doubleClick (pattern3)

	wait (selectorDone)
	dragDrop (Pattern(SelectorTitle).targetOffset(0,0),Pattern(DOSConsole).targetOffset(-814,167))
---------------------

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/723787

Title:
  Sikuli X-1.0rc2 consumes the whole CPU

Status in Sikuli:
  New

Bug description:
  When conducting some operations the java machine goes to 99% of CPU
  usage.

  For example, in the same script click on three patterns and change
  similarity value consecutively. After that the PC gets very slow until
  javaw is killed. See screenshoot.

  Sikuli version: X-1.0rc2
  OS: Windows XP SP3 32-bit



References