Boost logo

Boost Users :

Subject: Re: [Boost-users] Question regarding boost binary serializer which is eating 90GB of memory, while re-reading the same content.
From: dinesh kumar (dineshkumar02_at_[hidden])
Date: 2018-01-21 13:35:56


On Sat, Jan 20, 2018 at 10:12 PM, Robert Ramey via Boost-users <
boost-users_at_[hidden]> wrote:

> On 1/19/18 11:52 PM, dinesh kumar via Boost-users wrote:
>
>> Hi All,
>>
>> Greetings for the day.
>>
>> I am trying to understand the behavior of Boost's binary serializer(Boost
>> version 1.65). Please consider the below example, where I am inserting one
>> record into the file, and trying to read the same record 5 times.
>>
>>
> It would not occur to me to use the serialization library in this case.
> The serialization library saves/restores a whole data structure of
> arbitrary complexity. It does it with one call. It doesn't really support
> "picking apart" the saved file. It's not a file protocol - it's much, much
> more than that. If you intervene in the process, you'll likely be
> surprised at what you get.
>
> Agreed. I was making my hands dirty with serialization and thought I found
a serious problem with the library, hence reported to the community.
But, I am not using the serialization to re-read the same content as it was
a just experiment which was exploded in my machine, while doing the same.

--Dinesh

Robert Ramey
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> https://lists.boost.org/mailman/listinfo.cgi/boost-users
>

-- 
Regards,
Dinesh
manojadinesh.blogspot.com


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net