Sikulix subprocess module overflow error
Hello,
We are writing tests for a large project using Sikulix. It helped us test many scenarios. But some of our tests are too long. At some point in these long tests, I think we're reaching the limits of the JVM and the test freezes. When we terminate the sikulix.jar process, the test continues from where it left off. At this point, I ask for your help. (I use thousands of images and static functions). I cannot detect the error.
I am using the subprocess module. And as far as I have determined, it freezes after running this function 218 times on a computer with 8 GB of RAM, 1180 times on a computer with 64 GB of RAM. I tried different operating systems (ubuntu, centos) same problem.
The communicate() function in the Subprocess module causes an overflow even though I terminate the process.
I am waiting for your help.
# -*- coding: utf-8 -*-
import subprocess
class window:
@staticmethod
def check():
i = 0
while True:
p = subprocess.
id = result[0]
p = subprocess.
x = result[0]
i += 1
window.check()
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask abuzer stream for more information if necessary.