Maximum size of XML possible in DOM? 2003-01-22 - By Dr. Robert Spiske
Hi!
> 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
The JVM usualy starts using 64 MB of RAM. If you need more e.g. 512 MB run: java -Xmx512m Starting the JVM with more memory should help (if you have enough physical memory).
> Could anyone please share the info on the Maximum possible size of a >XML Document which can be parsed by the Xerces DOM parser.
The memory usage depends on the number of tags and the amount of text in it. That is why there is no general answer.
Hope this helps Robert
--------------------------------------------------------------------- To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) For additional commands, e-mail: xerces-j-user-help@(protected)
|
|