[xsd-users] Tree streaming serialization

Pavel Fiala pavel.fiala at cern.ch
Tue Feb 11 04:02:17 EST 2014


Hi Boris,

On 11.2.2014 08:02, Boris Kolpackov wrote:
> Can you try the following: in serializer.cxx, in the create()
> functions (two of them), right at the beginning add this line:
>
> doc_.reset (dom_impl_.createDocument ());
this works, memory goes down under 1MB. I will try a simple example 
using Xerces only to create and release 1M elements and probably ask 
Xerces team directly if the behaviour stays the same.

Thanks,
Pavel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: position-1M-reset.png
Type: image/png
Size: 36183 bytes
Desc: not available
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20140211/846881c4/position-1M-reset-0001.png


More information about the xsd-users mailing list