Hi? I use samba-4.19.3 on Rocky 9 linux,but the memory usage varies,especially I mean RSS.Some smbd progress take 200MB while others take 500MB. Heap is the root cause of the problem?I dump the /proc/pid/smaps?it seems that one heap takes 366MB while total RSS is 528MB.Meanwhile,I think its TDBs takes 119M is normal as they will be shared among smbd progress. But I don't know how to debug the heap usage.samba uses TALLOC to allocate memory.When I add "?leak-report-full" to "/usr/bin/smbd",the total size of talloc is smaller than the heap,and such talloc report can only be seen when smbd exited.In talloc report,I find lots of record about "ndr_pull_vfs_default_durable_cookie"or filename.I try valgrind massif,too.But it didn't record the memory of children progress?the massif log didn't contain all smbd pid.Did I do it wrong? "/usr/bin/valgrind --tool=massif --massif-out-file=/var/log/massif.out.%p --time-unit=ms --pages-as-heap=yes --trace-children=yes /usr/bin/smbd --foreground --no-process-group $SMBDOPTIONS" First, I want to know how to debug samba's heap when talloc is involved.Secondly, is there any way to reduce samba's heap usage? Thank you very much. Best wish!