9 Oct
2017
9 Oct
'17
11:21 p.m.
We are trying to text serialize a 700 MB object. We are getting an archive_exception: input stream error.
This is on a 32-bit QNX system.
Is there a limit to the size of the object that can be serialized? Is there anything we can do to fix or work around this?
Here is the code we are using:
std::stringstream ss_; boost::archive::text_oarchive oa(ss_, boost::archive::no_header); oa << &object;
Adlai
Thanks for your help. When serializing into a stringstream, how does Boost add or allocate memory to the stringstream? Adlai