[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: parser to use
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@s...] Sent: Thursday, May 23, 2002 11:52 AM To: xml-dev@l... Subject: 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. **************************************************************************
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|