sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #04526
[Bug 590838] Re: Memory leak with sikuli-script in version 0.10.1
*** This bug is a duplicate of bug 575585 ***
https://bugs.launchpad.net/bugs/575585
Is it possible for anybody to post a link where from I can download the
latest Sikuli build where the issue regarding memory leak is resolved. I
am using Sikuli from java program on Win XP platform and facing a memory
leak issue. Please help me on that
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/590838
Title:
Memory leak with sikuli-script in version 0.10.1
Status in Sikuli:
New
Bug description:
On WinXp 32bit with the java 1.6.0_20 when i try to execute a script
with sikuliscript.jar (0.10.1) if during the execution, Sikuli doesn't
find the screenshot which should match with my image, the java process
uses 100% of a core of the processor and the memory consumption grows
more and more until 1.5go and finally the jvm crashs.
This is the dump of the java process when the memory is near 1.1Go :
2010-06-07 17:17:44
Full thread dump Java HotSpot(TM) Client VM (16.3-b01 mixed mode, sharing):
"AWT-Shutdown" prio=6 tid=0x0380d400 nid=0x6d0 in Object.wait() [0x046df000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x287a7a58> (a java.lang.Object)
at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:284)
- locked <0x287a7a58> (a java.lang.Object)
at java.lang.Thread.run(Thread.java:619)
"weakref reaper" daemon prio=6 tid=0x03a4c400 nid=0x1428 in Object.wait() [0x0467f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x28811108> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
- locked <0x28811108> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
at org.python.modules._weakref.GlobalRef$RefReaperThread.collect(GlobalRef.java:212)
at org.python.modules._weakref.GlobalRef$RefReaperThread.run(GlobalRef.java:221)
"AWT-Windows" daemon prio=6 tid=0x033fec00 nid=0x1440 runnable [0x03fdf000]
java.lang.Thread.State: RUNNABLE
at sun.awt.windows.WToolkit.eventLoop(Native Method)
at sun.awt.windows.WToolkit.run(WToolkit.java:295)
at java.lang.Thread.run(Thread.java:619)
"Java2D Disposer" daemon prio=10 tid=0x039ddc00 nid=0x1704 in Object.wait() [0x03f3f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x287a7ae8> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
- locked <0x287a7ae8> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
at sun.java2d.Disposer.run(Disposer.java:125)
at java.lang.Thread.run(Thread.java:619)
"Low Memory Detector" daemon prio=6 tid=0x02c1d000 nid=0x320 runnable [0x00000000]
java.lang.Thread.State: RUNNABLE
"CompilerThread0" daemon prio=10 tid=0x02c17400 nid=0xa24 waiting on condition [0x00000000]
java.lang.Thread.State: RUNNABLE
"Attach Listener" daemon prio=10 tid=0x02c15c00 nid=0x146c waiting on condition [0x00000000]
java.lang.Thread.State: RUNNABLE
"Signal Dispatcher" daemon prio=10 tid=0x02c14400 nid=0xc6c runnable [0x00000000]
java.lang.Thread.State: RUNNABLE
"Finalizer" daemon prio=8 tid=0x02c0fc00 nid=0x1058 in Object.wait() [0x02ddf000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x27ee0288> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
- locked <0x27ee0288> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
"Reference Handler" daemon prio=10 tid=0x02c0b000 nid=0x12b8 in Object.wait() [0x02d8f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x27ee0310> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:485)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
- locked <0x27ee0310> (a java.lang.ref.Reference$Lock)
"main" prio=6 tid=0x003b6800 nid=0x144c runnable [0x009dd000]
java.lang.Thread.State: RUNNABLE
at edu.mit.csail.uid.Finder.find(Native Method)
at edu.mit.csail.uid.Finder.find(Finder.java:80)
at edu.mit.csail.uid.Finder.find(Finder.java:72)
at edu.mit.csail.uid.Region.findNow(Region.java:517)
at edu.mit.csail.uid.Region.wait(Region.java:228)
at org.python.proxies.sikuli.Region$Region$1.super__wait(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:175)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:190)
at org.python.core.PyObject.__call__(PyObject.java:432)
at org.python.core.PyObject.__call__(PyObject.java:436)
at sikuli.Region$py.wait$7(D:\Documents and Settings\smercier\.m2\repository\edu\mit\csail\uid\sikuli\sikuli-script\0.10.1\sikuli-script-0.10.1.jar\Lib\sikuli\Region.py:95)
at sikuli.Region$py.call_function(D:\Documents and Settings\smercier\.m2\repository\edu\mit\csail\uid\sikuli\sikuli-script\0.10.1\sikuli-script-0.10.1.jar\Lib\sikuli\Region.py)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyBaseCode.call(PyBaseCode.java:297)
at org.python.core.PyBaseCode.call(PyBaseCode.java:191)
at org.python.core.PyFunction.__call__(PyFunction.java:385)
at org.python.core.PyMethod.__call__(PyMethod.java:215)
at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:221)
at org.python.core.PyMethod.__call__(PyMethod.java:206)
at org.python.core.PyObject.__call__(PyObject.java:367)
at org.python.core.PyObject._jcallexc(PyObject.java:3500)
at org.python.proxies.sikuli.Region$Region$1.wait(Unknown Source)
at edu.mit.csail.uid.Region.find(Region.java:186)
at org.python.proxies.sikuli.Region$Region$1.super__find(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:175)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:190)
at org.python.core.PyObject.__call__(PyObject.java:414)
at org.python.core.PyObject.__call__(PyObject.java:418)
at sikuli.Region$py.find$5(D:\Documents and Settings\smercier\.m2\repository\edu\mit\csail\uid\sikuli\sikuli-script\0.10.1\sikuli-script-0.10.1.jar\Lib\sikuli\Region.py:60)
at sikuli.Region$py.call_function(D:\Documents and Settings\smercier\.m2\repository\edu\mit\csail\uid\sikuli\sikuli-script\0.10.1\sikuli-script-0.10.1.jar\Lib\sikuli\Region.py)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyBaseCode.call(PyBaseCode.java:297)
at org.python.core.PyBaseCode.call(PyBaseCode.java:191)
at org.python.core.PyFunction.__call__(PyFunction.java:385)
at org.python.core.PyMethod.__call__(PyMethod.java:215)
at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:221)
at org.python.core.PyMethod.__call__(PyMethod.java:206)
at org.python.core.PyObject.__call__(PyObject.java:397)
at org.python.core.PyObject.__call__(PyObject.java:401)
at org.python.pycode._pyx99.f$0(D:\Darwin\darwin-integration-tests\mfth2h\tests\testsE2E\src\test\sikuli\LaunchSendFile.sikuli\LaunchSendFile.py:14)
at org.python.pycode._pyx99.call_function(D:\Darwin\darwin-integration-tests\mfth2h\tests\testsE2E\src\test\sikuli\LaunchSendFile.sikuli\LaunchSendFile.py)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1204)
at org.python.core.__builtin__.execfile_flags(__builtin__.java:541)
at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:190)
at com.axway.product.tooling.sikuli.SikuliRobot.run(SikuliRobot.java:77)
at com.axway.product.tooling.sikuli.SikuliRobot.run(SikuliRobot.java:48)
at com.axway.product.tooling.tests.sikuli.SikuliTemplate.executeSikuliTest(SikuliTemplate.java:206)
at com.axway.product.tooling.tests.sikuli.SikuliTemplate.executeSikuliTest(SikuliTemplate.java:159)
at com.axway.drw.solutions.mfth2h.assembly.testsE2E.SendFileAndNotificationITCase.TestSendFileAndNotificationITCase(SendFileAndNotificationITCase.java:135)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
at org.mockito.internal.runners.JUnit45AndHigherRunnerImpl.run(JUnit45AndHigherRunnerImpl.java:36)
at org.mockito.runners.MockitoJUnitRunner.run(MockitoJUnitRunner.java:57)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
"VM Thread" prio=10 tid=0x02c09c00 nid=0xc40 runnable
"VM Periodic Task Thread" prio=10 tid=0x02c1f800 nid=0x14fc waiting on
condition
JNI global references: 1299
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/590838/+subscriptions