Document.SaveFamilyToFolder node not releasing memory

So I think I made a discovery I would like to share in case it helps anyone else.

I had an issue with my above solution when trying to get it to save families to a network drive. I was still having issues with the families/files not releasing from memory after saving, causing the memory to fill up. I think the memory issue is because of trying to save to a network drive. When I modified my graph to feed the python node paths to my local drive instead of a network drive, the memory issue seemed to go away. I’m not sure why this is the case, but it worked for me, so I set my Dynamo graph save all the families to my local drive first, then after all the families are saved out, copy them all to the network location.

Hope this helps someone!