[xml] libxml2 memory consumption



Hello @ all,

out of boredom (just kidding... :) i've done
some performance/memory consumption testing
using a little program that doesn't make more
than set xmlSetBufferAllocationScheme(
XML_BUFFER_ALLOC_EXACT), parse a document via
xmlParseFile(), pause and close it.

That's what if found for a 15MB document:
It takes about 20 sec. to parse the document
and build the DOM (which seems quite fast(?)),
but it needs about *184MB* memory' (which seems
immense)!?

Is this the "normal" relation of document size/
memory consumption or is something wrong with
my test prog (a *very* simple one)?




Mit freundlichen Gruessen - Kind regards
Markus Henke



________________________Addressed by:________________________
 ORDAT GmbH & Co. KG  -  Serversystems / eCom 
 Dipl.-Inf. (FH) Markus Henke  Fon: +49 (641) 7941-0
 Rathenaustr. 1                Fax: +49 (641) 7941-132
 35394 Gießen                  mailto:markus henke ordat com
 See:                          http://www.ordat.com
_____________________________________________________________
              ...this behavior is by design...

Attachment: Markus Henke.vcf
Description: Binary data



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