maximum size for text content of an element? 2003-02-21 - By Aleksandar Milanovic
Hi Andy,
The document is parsed through JAXP DocumentBuilder configured to use Xerces, without deferred node expansion, without validation and with namespaces. The document does reference XML schemas, but no validation is performed.
Patiently awaiting round three... :) Alex
> -----Original Message----- > From: Andy Clark [mailto:andyc@(protected)] > Sent: Friday, February 21, 2003 10:58 AM > To: xerces-j-user@(protected) > Subject: Re: maximum size for text content of an element? > > > Aleksandar Milanovic wrote: > > I got an OutOfMemoryError when I parsed a document of about 5MB in size > > despite the fact that I increased the maximum heap size of JVM > to 512MB. I > > suspect that the problem arose due to the very long textual > content of an > > element (~55000 characters). > > Okay, time for round two. :) > > What API are you using? And are you performing any > validation on the document in question? If so, what > validation (e.g. DTD or XML Schema)? > > -- > Andy Clark * andyc@(protected) > > > --------------------------------------------------------------------- > 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)
|
|