I am writing a program to format 100 MB string data (close to GIG) in XML ==, and I Required return it as a response to a HTTP (GET) request.
I am using a string witter / xmlr iter so that an XML of the record is created in a loop and
(author = XmlWriter.Create (author, settings) )) (Stringworld author = new stringwriter ()) // where settings are XML start-up author. Toastring ()
During the test, there was some exception memory seen exception - and not enough to find a solution? Do you have any suggestions for customized delivery of response memory?
Is there a memory efficient way of encoding data? Or maybe it's possible to cut the figures- I can not even imagine how to return this whole thing without having to move into a huge string object.
Thanks
- Some explanations - this josz Has installed an asp.net webservices app on a Gigabit Ethernet link.
I am using XMLWriter to create XML and I am creating string using string
some data - - reaction xml size = approximately 385 MHz (my data
String object size, as calculated by Memory Profiler = 605 MB leaned in
And the people who answer, Thanks for them ...
Or you can not stream the only customer feedback? XmlWriter does not have to buffer its underlying current required memory if it is ASP.NET then you can use Response.OutputStream or WCF, you can use.
Comments
Post a Comment