sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #11188
[Bug 1013396] [NEW] Memory leak in Region.right(x)
Public bug reported:
It took me a while* to track this one down:
NO memory leak:
def getNumbers(numType, region):
return 0
def test()
x=regions['topLeft'].find("JI.png")
getNumbers("topLeft", x) # <----<----<---- Region
while True:
test()
MEMORY LEAK:
def getNumbers(numType, region):
return 0
def test()
x=regions['topLeft'].find("JI.png")
getNumbers("topLeft", x.right(75)) #<---<---<--- Region.right(x)
while True:
test()
System: win7 64bit
JRE 1.6.32 (JRE1.7.04 tested as well)
Sikuli X1.0rc3(905) (1.0RC930 tested as well)
I've tested a few variations of the code above already. I will go on,
since that script is essential to a project I am running.
PS: getNumbers is my own text (number) recognition algorithm since
region.text() isn't working yet.
* "a while" == 12 days - anyway, sikuli is really good for it's purpose
** Affects: sikuli
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1013396
Title:
Memory leak in Region.right(x)
Status in Sikuli:
New
Bug description:
It took me a while* to track this one down:
NO memory leak:
def getNumbers(numType, region):
return 0
def test()
x=regions['topLeft'].find("JI.png")
getNumbers("topLeft", x) # <----<----<---- Region
while True:
test()
MEMORY LEAK:
def getNumbers(numType, region):
return 0
def test()
x=regions['topLeft'].find("JI.png")
getNumbers("topLeft", x.right(75)) #<---<---<--- Region.right(x)
while True:
test()
System: win7 64bit
JRE 1.6.32 (JRE1.7.04 tested as well)
Sikuli X1.0rc3(905) (1.0RC930 tested as well)
I've tested a few variations of the code above already. I will go on,
since that script is essential to a project I am running.
PS: getNumbers is my own text (number) recognition algorithm since
region.text() isn't working yet.
* "a while" == 12 days - anyway, sikuli is really good for it's
purpose
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1013396/+subscriptions
Follow ups
-
[Bug 1013396] Re: X-1.0rc3-931: Java heap space exhausted with long running script using Region.right() .below() .nearby().
From: RaiMan, 2014-09-17
-
[Bug 1013396] Re: X-1.0rc3-931: Java heap space exhausted with long running script using Region.right() .below() .nearby().
From: RaiMan, 2014-01-12
-
[Bug 1013396] Re: X-1.0rc3-931: Java heap space exhausted with long running script using Region.right() .below() .nearby().
From: RaiMan, 2013-05-14
-
[Bug 1013396] Re: X-1.0rc3-931: Java heap space exhausted with long running script using Region.right() .below() .nearby().
From: RaiMan, 2013-02-21
-
[Bug 1013396] Re: X-1.0rc3-931: Java heap space exhausted with long running script using Region.right() .below() .nearby().
From: RaiMan, 2012-11-02
-
[Bug 1013396] Re: X-1.0rc3-931: Java heap space exhausted with long running script using Region.right() .below() .nearby().
From: RaiMan, 2012-11-02
-
[Bug 1013396] Re: X-1.0rc3-931: Java heap space exhausted with long running script using Region.right() .below() .nearby().
From: RaiMan, 2012-11-02
-
[Bug 1013396] Re: X-1.0rc3-931: Java heap space exhausted with long running script using Region.right() .below() .nearby().
From: RaiMan, 2012-09-28
-
[Bug 1013396] Re: X-1.0rc3-931: Java heap space exhausted with long running script using Region.right() .below() .nearby().
From: John F Leach, 2012-09-27
-
[Bug 1013396] Re: X-1.0rc3-931: Java heap space exhausted with long running script using Region.right() .below() .nearby().
From: ente, 2012-06-24
-
[Bug 1013396] Re: X-1.0rc3-931: Java heap space exhausted with long running script using Region.right() .below() .nearby().
From: RaiMan, 2012-06-15
-
[Bug 1013396] Re: Java heap space exhausted with long running script using Region.right() .below() .nearby().
From: RaiMan, 2012-06-15
-
[Bug 1013396] Re: Java heap space exhausted with long running script using Region.right() .below() .nearby().
From: RaiMan, 2012-06-15
-
[Bug 1013396] Re: Java heap space exhausted with long running script
From: RaiMan, 2012-06-15
-
[Bug 1013396] Re: Java heap space exhausted with long running script
From: ente, 2012-06-15
-
[Bug 1013396] Re: Java heap space exhausted with long running script
From: ente, 2012-06-15
-
[Bug 1013396] Re: Java heap space exhausted with long running script
From: ente, 2012-06-15
-
[Bug 1013396] Re: Memory leak in Region.right(x)
From: RaiMan, 2012-06-15
-
[Bug 1013396] Re: Memory leak in Region.right(x)
From: ente, 2012-06-15
-
[Bug 1013396] Re: Memory leak in Region.right(x)
From: RaiMan, 2012-06-15
-
[Bug 1013396] [NEW] Memory leak in Region.right(x)
From: ente, 2012-06-14
References