[xsd-users] XSD uses a lot of memory

Boris Kolpackov boris at codesynthesis.com
Tue Mar 10 08:05:03 EDT 2015


Hi Maxim,

Maxim Maslennikov <maxim.maslennikov at gmail.com> writes:

> I meant my program uses an "object persistance" approach described
> in your document - "XML Parsing and Serialization in C++ With
> libstudxml” and also saves all data in memory.

You mean the data for the *entire* document is stored in memory?


> So my question is why does xsd C++/tree use about ten time more
> memory? I found it when generated a file of records about 100Mb
> size.

If the answer to the above question is "yes", then I will need to
see a test that reproduces this. C++/Tree definitely shouldn't
use 10 times more memory.

Boris



More information about the xsd-users mailing list