[libxml-devel] Memory usage compared to REXML
ileitch
port001 at gmail.com
Thu Feb 12 11:35:21 EST 2009
Hey,
I just switched over a chunk of code to use libxml-ruby expecting to
see improvements in performance and memory usage. While performance is
drastically better, memory usage has increased quite significantly.
With REXML parsing a 3.8mb document would consume 259mb, however with
libxml-ruby parsing the same document consumes around 407mb.
Is this expected or am I doing something wrong? I've tried niling
objects and starting GC at various points in my code but to no effect.
I'm using 0.9.8 on OS X.
Thanks
Ian
More information about the libxml-devel
mailing list