[feat] get correct mem in docker
I believe that when comftUI runs in a Docker container, we should obtain accurate memory information. For example, if the Docker container is limited to 32GB of memory, but the host machine has 128GB, psutil still retrieves the memory as 128GB. This may lead to incorrect judgments when other calls to the get_free_memory and get_total_memory functions are made.
This feels like it should be a PR to psutil rather than comfy?
I have released an extension that can solve this problem non-invasively after installation
search Psutil Container Memory Patch in ComfyUI-Manager
https://github.com/springjk/ComfyUI-Psutil-Container-Memory-Patch
It would be nice if comfyui could fix this, but some other custom nodes use the same approach, so maybe this is a psutil issue, but it seems there's no perfect solution for it.