[xsd-users] OutOfMemoryException when loading binary schema
Boris Kolpackov
boris at codesynthesis.com
Fri Oct 3 02:15:40 EDT 2014
Hi Christian,
Christian Sell <christian at gsvitec.com> writes:
> I have successfully implemented the embedded schema procedure as given
> in the XSD examples under Win32. Now I have ported everything over to
> Linux-gcc64, and got the compile to succeed (always with newest Xerces
> and XSD). However, when I invoke the program, I get a
> "xercesc_3_1::OutOfMemoryException".
>
> When debugging, I see the error happening ate the following statement:
>
> gp->deserializeGrammars(&is);
My first guess is that you are using the schema grammar generated for
Win32 to build your 64-bit Linux application. Generally, you should
generate the schema grammar on the same platform and using the same
Xerces-C++ version as your application.
Boris
More information about the xsd-users
mailing list