Re: [xml] memory usage question
- From: JC Oosthuizen <jc oosthuizen gmail com>
- To: "xml gnome org" <xml gnome org>
- Subject: Re: [xml] memory usage question
- Date: Wed, 17 Aug 2005 16:43:37 +0200
On 8/17/05, Kasimier Buchcik <kbuchcik 4commerce de> wrote:
Hi,
On Wed, 2005-08-17 at 10:08 -0400, Daniel Veillard wrote:
On Wed, Aug 17, 2005 at 10:04:08AM -0400, Rob Richards wrote:
Daniel Veillard wrote:
Ho ho ... if it's really the same document on both side there is something
fishy, I can't think of anything leading to this, seems it's twice the size
on Linux, and I really can't see why. I would be very interested in
feedback
on this, it may be a stupid accounting error in xmlmemory.c, or a real bug
which in that case sounds quite serious.
GD!!! It was using the wrong file there. The other file (damn typo) was
2X the size which caused this.
real numbers look correct.
Damn, I was hoping for a cheap 2x memory usage optimization on Linux !
How disapointing :-)
Oops, so I can burry my started test already :-)
Greetings,
Kasimier
Hi.
Out of interest sake how will the memory usage differ if one was not
using a dictionary? And what is actually added into the dictionary?
If I have a big XML file containing lots of the same tags with small
bits of data within these tags how much benefit will a dictionary
give?
eg.
<root>
<item id="1">
<tag1>Some data</tag1>
<tag2>123</tag2>
</item>
...
...
</root>
Say I have 20 000 of these items how much will the dictionary save?
JC Oosthuizen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]