nvidia-smi -gpu-reset
is certainly not backed.cudaDeviceReset
in the starting of the system is only impacting the current context produced by the process and doesn'capital t clean the memory given before it.htop
or withutilized
byfree
. There many reasons for this, but I'll strike a few of the biggest types.copy-on-write
therefore that both procedures are actually using the exact same memory. Just when 1 of the procedures changes the memory will it really be copied. Therefore this will cause thefree
amount to become smaller than thetop
RSS amount.best
doesn't consist of it in RSS. So this will trigger thefree
quantity to be bigger than thebest
RSS amount.apt install smem
) that enables you list change and utilized memory individually.