I am referring to the following link for disposing the SharePoint objects. Basically, I understand that mainly SPSite and SPWeb are the 2 objects that use unmanaged code.
Best Practices: Using Disposable Windows SharePoint Services Objects
I have a Windows Service that loops through all the web applications, then site collections within it and then the sub sites in it. In this, I am carefully disposing SPSite and SPWeb objects. Still there appears to be memory leaks, which I am not able to catch. I tried using SPDisposeCheck, but it doesn't seem to be reliable. I know about SPCAF, but it is paid. I am not sure if there are other tools which are free and reliable for checking memory leaks. Can anyone please help?