We are not perfectly certain about what is generating the amount of untracked memory. There is little to no other solutions than securing the connections properly.
Back in RDC 2020, they introduced 5 different powerful code patterns that are useful. One of the reason being successful memory management.