Subject: Re: [boost] Boost Serialization: Serializing large objects
From: Robert Ramey (ramey_at_[hidden])
Date: 2017-10-05 18:53:48
On 10/5/17 10:41 AM, Adlai Shawareb via Boost wrote:
> 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;
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
There is no known limitation on file size in the boost serialization
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk