You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by Arun Yadav <Ar...@Sun.COM> on 2001/08/23 13:36:42 UTC
Comment on Bug 3199.
Hi
I tried your Dparser.java with 2,3 & 4 MB of XMl file with validation flag true
but not succesuful in reproducing your problem (OutOfMemory). I tried it with
xerces1.4.2 ,xerces1.4.3 and xerces2_beta. Well,I find that DOMparser in xerces2
is fast as compared to xerces1.4.x .
Could u provide the more details of our problem.
Arun Yadav
Sun Microsystem,India.
> I could then compile and parse small xml-files without any problems, BUT
when
> I
> work against larger files (2.4MB) then the OutOfMemory problem starts. And
we
> have xml-files that are as big as over 20MB. Soo for us it is critical that
we
> ! can run larger files.
> --- 186,199 ----
> I could then compile and parse small xml-files without any problems, BUT
when
> I
> work against larger files (2.4MB) then the OutOfMemory problem starts. And
we
> have xml-files that are as big as over 20MB. Soo for us it is critical that
we
> ! can run larger files.
> !
> ! ------- Additional Comments From mats.bjornlund@capgemini.se 2001-08-22
02:25
> -------
> ! I can now parse the xml-file but I have to allocate ALOT of memory when
> ! starting the program. To be able to parse a 2.4MB file I have to use 40-
> ! 70MB "ram". That is alot, we have to handle 30MB files, soo that could be a
> ! problem. Well, I shall now try to implement the SAX parser hoping that it is
> ! faster and also spending much less memory. Parsing a 600KB file takes 40sec,
> ! but parsing a 2.4MB file takes 3 minutes.
> !
>
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org