OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] parser to use

[ Lists Home | Date Index | Thread Index ]

You mention the use of both, SAX and DOM, however, the problem (with memory)
you have encountered suggest that you are using DOM to load 5 files in
memory and then doing some sort of parsing.  Keep in mind that DOM loads
your files in memory to create a tree, SAX sequentially processes the XML
file without loading them in memory.
 
What is you goal in parsing the files?


Regards,

/**
 *
 * @author Craig
 * @Ever Vigilant!!!
 *
 */


-----Original Message-----
From: Subrahmanyam_Pappu [mailto:Subrahmanyam_Pappu@satyam.com]
Sent: Thursday, May 23, 2002 11:52 AM
To: xml-dev@lists.xml.org
Subject: [xml-dev] parser to use



Hi all, 
We have used Sax and Dom persers to read our 5 xml files each having
capacity of 101KB.  Before weblogic starts all the xml files are loaded into
memeory. But that was taking much memory, so tried to implement JDOM parser.
Even then the same memory problem comes and the efficiency is not increased.


Can any one suggest which parsers to be used to increase the performance? 
Regards, 
Subrahmanyam. 
************************************************************************** 
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.

************************************************************************** 





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS