boost::serialization high memory consumption during serialization
问题 just as the topic suggests I've come across a slight issue with boost::serialization when serializing a huge amount of data to a file. The problem consists of the memory footprint of the serialization part of the application taking around 3 to 3.5 times the memory of my objects being serialized. It is important to note that the data structure I have is a three dimensional vector of base class pointers and a pointer to that structure. Like this: using namespace std; vector<vector<vector<MyBase