← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #174047]: Exception in thread "Thread-13" java.lang.OutOfMemoryError: Java heap space

 

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

RaiMan requested more information:
I am not that Java expert, but as far as I know, there are different
heap spaces and other memory areas, that count and may overflow. You
should have a deeper look at the java command line parameters addressing
memory usage.

--- using observe
an observer is bound to a region and one region can have only one observer. So since you are using more than one observer, i guess you are using reg.onXXX() to define the events and reg.observe(some-time, background=true).

Are you stopping and starting the observers in between or are they all
running continuously?

Are you defining the observed regions and their onXXX() events only once
at the beginning or are they defined over again on the fly during script
run?

Since the observers are implemented using threads (as far as I have seen
that in the coding), there might be too many of them.

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