While loading a 250 MB XML file in Microsoft's XML Notepad, I get an "OutOfMemoryException". Is there any way to increase the size limit?
Is there any other tool that can load large XML files?
|
While loading a 250 MB XML file in Microsoft's XML Notepad, I get an "OutOfMemoryException". Is there any way to increase the size limit? Is there any other tool that can load large XML files? |
||||
|
|
Editors like Notepad++ or UltraEdit might help. However I don't have a reply for increasing the memory limit. |
|||||
|
|
Any number of 3rd party text editors will load large files as will Visual Studio (although it gets a bit slow if the XML file are large because of the work its doing to build the document model). You can also use WordPad which doesn't have the same size limits - but its less than ideal as a text editor. My text editor of choice is TextPad - but there are a lot of choices. |
|||
|
|
|
You might want to try Vim (or the GUI counterparts GVim or Cream). Vim uses buffers and never loads the entire file into memory. |
|||
|
|
|
XML Notepad is a .NET application and is marked as "Any CPU" (I have downloaded XML Notepad and checked it with corflags.). Thus if you run it on a 64 bit version of Windows with enough RAM then the OutOfMemoryException exception should not happen. Update: It works! (almost) I tried it on a 410 MB XML file. Private Bytes went to 6.7 GB before XML Notepad ran out of memory on my 8 GB system. So it is possible to break the 1.4 GB barrier and the 250 MB XML file can probably be openened. I also tried to open a 97 MB XML file. XML Notepad did not run out of memory and opened fine. Private Bytes was 719 MB. |
||||
|
|
|
XMLMax will handle it easily and put it in a treeview in about ten seconds.
|
||||
|
|