Is there a way to get object references count via Memory profiler API?

I have an objects pool factory class and want to create an Assert() which ensures that it is safe to add an object to a free objects pool. 

1 comment
Comment actions Permalink

No, there is no way. Taking and analyzing memory snapshot takes to much time to use such logic in production code.

You can use dotMemory Unit which allow analyzing memory state at execution point:


Please sign in to leave a comment.