[xsd-users] Too many anonymous types

Boris Kolpackov boris at codesynthesis.com
Tue May 27 08:22:05 EDT 2008


Hi Brian,

Brian Young ARA/CFD <byoung at ara.com> writes:

> Now, for the file-per-type issue. I watched the memory usage and got the
> same results twice. Slowing climbs to ~650MB, then very quickly climbs
> to just under 2GB. Slowly goes back down to ~650MB, slowly backup to
> ~1GB. Then quickly climbs to around ~2GB before disappearing into the
> night forever. So, your assumption about running out of memory may be
> correct.

I think I've identified and fixed the cause of this high memory
usage. At least my schema that used to cause XSD to run out of
2GB of RAM in the --file-per-type mode now compiles fine using
only 2% of that memory.

Would it be possible for you to test this fix on your schema and
let me know if there is an improvement? I've built a pre-release
binary which you can get here:

http://www.codesynthesis.com/~boris/tmp/xsd-3.1.1.a4-i686-windows.zip

Thanks,
Boris




More information about the xsd-users mailing list