Error using boost serialization with binary archive
问题 I get the following error while reading from boost::archive::binary_iarchive into my variable: test-serialization(9285,0x11c62fdc0) malloc: can't allocate region *** mach_vm_map(size=18014398509486080) failed (error code=3) test-serialization(9285,0x11c62fdc0) malloc: *** set a breakpoint in malloc_error_break to debug My serialization and deserialization code are: template<class Archive> void save(Archive & archive, const helib::PubKey & pubkey, const unsigned int version){ BOOST_TEST