Deep-Live-Cam icon indicating copy to clipboard operation
Deep-Live-Cam copied to clipboard

Memory Setting not working

Open fiete96 opened this issue 6 months ago • 1 comments

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!

fiete96 avatar Aug 12 '24 08:08 fiete96