Deep-Live-Cam
Deep-Live-Cam copied to clipboard
Memory Setting not working
Hey, I got this error message:
(Deep-Live-cam) XXX@XXX % python run.py --max-memory 20 --execution-provider coreml --execution-threads 12
Traceback (most recent call last):
File "/Users/XXX/Documents/XXX/Deep-Live-Cam/run.py", line 6, in <module>
core.run()
File "/Users/XXX/Documents/XXX/Deep-Live-Cam/modules/core.py", line 242, in run
limit_resources()
File "/Users/XXX/Documents/XXX/Deep-Live-Cam/modules/core.py", line 145, in limit_resources
resource.setrlimit(resource.RLIMIT_DATA, (memory, memory))
OverflowError: Python int too large to convert to C long
I got an m3 Max CPU with 36GB of Memory. without the --max-memory 20 it works!