Maximum size of XML possible in DOM? 2003-01-21 - By Doug Helton
This depends on what version of xerces you are using. I am using xerces 2.2.1. Surprisingly it also depends if you have validation turned on or off as well. The surprising part is that you can parse a larger file with validation turned on. This is because with validation it is better able tell the difference between valid whtiespace and what is not valid, so it does not build as many nodes. Have benchmarked using jprobe was able to read and traverse a 4 meg file. Was able to read an 8 meg file but when I went to traverse it I ran out of memory. It turned out that 4meg was the limit for me. It probably will depend on your system memory as well.
Doug
-----Original Message----- From: Singh, Anoop [mailto:anoop.singh@(protected)] Sent: Monday, January 20, 2003 10:30 PM To: xerces-j-user@(protected) Subject: Maximum size of XML possible in DOM?
Hi All, Could anyone please share the info on the Maximum possible size of a XML Document which can be parsed by the Xerces DOM parser.
Any info will be highly appreciated. Thanks and Regards, Anoop Singh
--------------------------------------------------------------------- To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) For additional commands, e-mail: xerces-j-user-help@(protected)
--------------------------------------------------------------------- To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) For additional commands, e-mail: xerces-j-user-help@(protected)
|
|