sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #28587
Re: [Question #255315]: [sikuli api]finder.find seems memory leak
Question #255315 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/255315
Status: Solved => Open
liuychao is still having a problem:
i use the new version ,and just run some cases, print the Image object
dump info,seems the used percent still incorrect,and memory still
increases nearly 50-60MB every some time.
pls check the log:
[debug] ImagePath: ImagePath has 1 entries
[debug] Image: ImageFiles entries: 9
[debug] Image: ImageNames entries: 9
[debug] Image: Cache state: Max 64 MB (entries: 9 used: 30 % 19960 KB)
[debug] Image: --- end of Image dump ---
[debug] ImagePath: ImagePath has 1 entries
[debug] Image: ImageFiles entries: 11
[debug] Image: ImageNames entries: 11
[debug] Image: Cache state: Max 64 MB (entries: 11 used: -25 % 25440 KB)
[debug] Image: --- end of Image dump ---
[debug] Image: --- start of Image dump ---
[debug] ImagePath: ImagePath has 1 entries
[debug] Image: ImageFiles entries: 13
[debug] Image: ImageNames entries: 13
[debug] Image: Cache state: Max 64 MB (entries: 13 used: -16 % 30920 KB)
[debug] Image: --- end of Image dump ---
[debug] Image: --- start of Image dump ---
[debug] ImagePath: ImagePath has 1 entries
[debug] Image: ImageFiles entries: 14
[debug] Image: ImageNames entries: 14
[debug] Image: Cache state: Max 64 MB (entries: 14 used: -12 % 33760 KB)
[debug] Image: --- end of Image dump ---
[debug] Image: --- start of Image dump ---
[debug] ImagePath: ImagePath has 1 entries
[debug] Image: ImageFiles entries: 16
[debug] Image: ImageNames entries: 16
[debug] Image: Cache state: Max 64 MB (entries: 16 used: -3 % 39440 KB)
[debug] Image: --- end of Image dump ---
[debug] Image: --- start of Image dump ---
[debug] ImagePath: ImagePath has 1 entries
[debug] Image: ImageFiles entries: 18
[debug] Image: ImageNames entries: 18
[debug] Image: Cache state: Max 64 MB (entries: 18 used: 4 % 44920 KB)
[debug] Image: --- end of Image dump ---
[debug] Image: --- start of Image dump ---
[debug] ImagePath: ImagePath has 1 entries
[debug] Image: ImageFiles entries: 20
[debug] Image: ImageNames entries: 20
[debug] Image: Cache state: Max 64 MB (entries: 20 used: 12 % 50400 KB)
and at the last the memory used percent will keep at -30%
[debug] Image: --- start of Image dump ---
[debug] ImagePath: ImagePath has 1 entries
[debug] Image: ImageFiles entries: 48
[debug] Image: ImageNames entries: 48
[debug] Image: Cache state: Max 64 MB (entries: 29 used: -30 % 63740 KB)
[debug] Image: --- end of Image dump ---
[debug] Image: --- start of Image dump ---
[debug] ImagePath: ImagePath has 1 entries
[debug] Image: ImageFiles entries: 50
[debug] Image: ImageNames entries: 50
[debug] Image: Cache state: Max 64 MB (entries: 31 used: -29 % 64820 KB)
[debug] Image: --- end of Image dump ---
[debug] Image: --- start of Image dump ---
[debug] ImagePath: ImagePath has 1 entries
[debug] Image: ImageFiles entries: 51
[debug] Image: ImageNames entries: 51
[debug] Image: Cache state: Max 64 MB (entries: 32 used: -28 % 65061 KB)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.