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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
