[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: parser to use


xml persers
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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.