Improve the performance of the XML (Text) Editor
The XML (Text) Editor can get very sluggish when editing a largre XML file (1MB or larger).
Thanks for taking the time to share this suggestion. This item has been around for a couple of versions of Visual Studio and we haven’t acted on it. Looking at the VS “15” plans, we’re not going to take action on this item, so we’re going to close it. If the suggestion is still relevant, please either take a look to see if there’s another suggestion that’s similar that you can vote on, or open a new suggestion.
- The Visual Studio Team
Dave Novak commented
The XML file doesn't need to be big at all to show all kinds of keyboard lag; I see the same thing with even small files. That said, I think http://visualstudio.uservoice.com/forums/131389-visual-studio-performance/suggestions/2204073-make-editing-typing-scrolling-more-responsive- covers your concern.
Marcus Ferbrache commented
I opened a 50MB XML file in the text editor and tried to delete an element. RAM usage went up to 2.6GB as devenv reformatted the document and then I got an unhandled exception.
Perhaps VS isn't designed to be able to edit a file that big, but it seems to indicate a problem which if fixed would benefit smaller files.
As a comparison, I opened the same file in Emurasoft EM Editor (www.emeditor.com) which used 11MB RAM and was instant!