JSon-Editor
JSon-Editor copied to clipboard
"Expand All" on root of very large json throws an OutOfMemoryException
The problem is the number of handles that reaches 10k (max per process).
The problem is that Control.ExpandAll
must be working in the UI thread and sends a message for every node to be expanded. As messages won't be dispatched and handled until ExpandAll
is done, the 10k limit can be reach for a large TreeView
.
Not sure of the right way to do this for now. Is it really useful ?