Re: Parser



On Tue, 2011-03-22 at 13:20 +0530, DJ wrote:
> Hi,
> Sorry for this naive quiestion !!!
> Iam new to libxml++ and just wanted to know if dom parser keep the 
> structure(index) alone in the memory or the data also ?
> Thing is that if i load a 10 mb file will my memory count increases by 
> 10 mb or just the index of the file...

Yes, the DomParser puts everything in memory, I believe. That's why the
other parsers exist, if that's not suitable.

-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]