Click here to Skip to main content
15,881,898 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hey all,

I'm working on part of a project, and we're using the XmlWriter class of the .NET 2.0 Framework for exporting data onto a local or networked hard-drive. We discovered an issue with one of the installations, where the maximum amount of data being written was limited to 1024KB.

Initially we though this was an issue with the operating system, so we pulled back a copy of the installation to our own computers, and every machine we have tested on has experienced the same problem.

Is there a hidden maximum file limit when writing an XML document using the XmlWriter class? After doing some researching, I believe the maximum size is supposed to be 50MB, however we're capped solely to 1MB. Any data after the 1MB mark is completely omitted (for instance, even in the middle of writing an element, the file can abruptly end.)

Thanks in advance.
Posted
Comments
Maciej Los 2-Jun-14 12:33pm    
Without sample code we can't help you.
I'd suggest to read this: Improving XML Performance[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900