New question #691654 on Sikuli:
https://answers.launchpad.net/sikuli/+question/691654

Hello there ...

Am using SikuliX for a basic gaming tasks, so .. the script is on a loop and it 
works fine during some hours, after that it stops and my OS (Linux mint 19.03) 
says that i run out of ram memory.

I read about memory leak and optimize my code to fix the issue, so i did it, 
now it takes more than 5GB (RAM) in like 10 hours running.

this is an example how i do my search:

CenterReg = Region(603,318,155,66)
swLocation = Location(159, 655)
GoldImg = "gold.png"

if centerReg.exists(GoldImg):
   click(swLocation)

My coding skills are very basics so, will be great if someone give me a 
recommendation.

More info:
What SikuliX version? 2.0.4
What system? Linux Mint 19.03
what Java? OpenJDK 64-Bit Server VM (build 11.0.7+10-post-Ubuntu-2ubuntu218.04, 
mixed mode, sharing)
Possible, to get your script? yes
Tesseract: tesseract 4.1.1-rc2-21-gf4ef
 leptonica-1.75.3
  libgif 5.1.4 : libjpeg 8d (libjpeg-turbo 1.5.2) : libpng 1.6.34 : libtiff 
4.0.9 : zlib 1.2.11 : libwebp 0.6.1 : libopenjp2 2.3.0

 Found AVX2
 Found AVX
 Found FMA
 Found SSE
 Found libarchive 3.2.2 zlib/1.2.11 liblzma/5.2.2 bz2lib/1.0.6 liblz4/1.7.1

Regards!

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to