According to nVidia representative this is an issue within nvidia-smi that will be patched in future driver release:
https://forums.developer.nvidia.com/t/nvidia-smi-uses-all-of-ram-and- swap/295639/16 They suggested the following temporary workaround (tested and working on my end with 24.10 and driver version 560.35.03): "Setting a lower limit for maximum number of open file descriptors can also be used as a potential workaround until the fix is available :- # ulimit -Hn 16777216 or # ulimit -Hn 524288 instead of the current default value of 1073741816 (on Debian test, Ubuntu 24.10 nightly)." -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to nvidia-graphics-drivers-560 in Ubuntu. https://bugs.launchpad.net/bugs/2084987 Title: nvidia-smi is slow and has massive memory leak on upgrade to 24.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-560/+bug/2084987/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp