You can do pretty much anything at that point (e.g., you can track memory allocations and deallocations at only the specific levels you care about)…
you can try https://gperftools.github.io/gperftools/heapprofile.html setup HEAP_PROFILE_TIME_INTERVAL and look at the reports to see which code lines keep allocating memory...