Collections.Pooled icon indicating copy to clipboard operation
Collections.Pooled copied to clipboard

Nested pooled collections crash the Visual Studio heap snapshot

Open thatcosmonaut opened this issue 6 years ago • 0 comments

Describe the bug When nesting pooled collections inside each other, the debugger crashes when taking a heap snapshot.

To Reproduce Create a nested collection, for example PooledDictionary<int, PooledSet<int>> and attempt to take a heap snapshot in the Visual Studio debugger. This occurs in both the prerelease and 1.0 Nuget packages.

Expected behavior The debugger should not crash.

Is it also possible that nesting pooled collections is just not recommended usage? I'm not really sure how it works internally.

thatcosmonaut avatar Aug 10 '19 02:08 thatcosmonaut