[xml] how can i measure memory consumption?
- From: gabor <gabor z10n net>
- To: xml gnome org
- Subject: [xml] how can i measure memory consumption?
- Date: Fri, 19 Mar 2004 13:14:26 +0100
hi,
for some testing i wanted to measure how much memory is used when
loading an xml file.
what is the preferred way to do this?
i tried to write wrappers around xmlMalloc/free/realloc/strdup which
logged the mem-sizes, and told libxml to use the wrappers via
xmlMemSetup, but i wanted to be sure that i am not missing anything.
is there a higher level function to do that?
actually xmlMemUsed would be ideal for my needs ( i don't need all the
details), but it always returns 0 for me.
thanks,
gabor
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]