20 Observers, Slow Clicks. (using java)
I am starting 20 observeInBackgr
I'm using Java (sikuli jar 2.0.4), Windows 10, I have 64 gigs of ram and a 16 core AMD processor. CPU never jumps above 2% and memory is at 14gigs.
How can I get better response time from the clicks?
I'm ok to stop the observers during a click sequence and then restart. What the best way to stop all 20 and restart with different patterns without memory leaks? I tried in a List<Region> and would set an existing list item to a new Region and call observeInBackgr
any guidance would be appreciated, thank you!
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Sikuli Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Matthew Lebo
- Solved:
- 2020-11-29
- Last query:
- 2020-11-29
- Last reply:
- 2020-11-29
RaiMan (raimund-hocke) said : | #1 |
If you send me a code sample, I will have a look into it and make a suggestion.
TO: sikulix-
Matthew Lebo (digitalml) said : | #2 |
I was able to solve this speed issue by reading the and better understanding the documentation around observers and disabling / reenabling all of the observers before and after my click sequence.