Re: std::IStream size limitation
* Vivek:
I'm using IStream (basic_iostream class to be specific) interface and I
am trying to store very large Unicode XML data into a stream and it
seems to be overflowing. The symptom for the overflow *seems* to be
related to the size of the data that I am trying to stream in. If the
amount of data gets too large (for e.g. 128MB+) the data gets corrupted
and for XML, it obviously becomes useless. The amount of memory on my
system is 4GB, so it is NOT a physical memory problem.
Try to output the data in smaller chunks, and flush the stream for each
chunk.
If anyone else has experienced any limitations with IStream and would
like to share their experiences with me, I would really appreciate that!
IStream is not a name from the standard library, and it doesn't sound
like a stream you'd be outputting data to: it sounds like an input stream.
--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]