Boost logo

Boost :

Subject: [boost] Boost Serialization: Serializing large objects
From: Adlai Shawareb (adlai_at_[hidden])
Date: 2017-10-05 17:41:55

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;


Boost list run by bdawes at, gregod at, cpdaniel at, john at