Boost logo

Boost Users :

From: james.jones_at_[hidden]
Date: 2006-10-04 18:09:14


From: Thomas D'Silva <twdsilva_at_[hidden]>
> Hello,
>
> I am trying to serialize data using boost::archive::xml_oarchive. When the
> resulting file is larger than 2GB, I get an error saying "File size limit
> exceeded". I am using gcc version 3.2.2. I was wondering if there is a way to
> use ofstream with boost::archive::xml_oarchive to write files larger than 2GB
> using gcc version 3.2.2.

Does the underlying filesystem support >2GB files? Many don't by default. Can you create a large file (using dd, for example) in the shell? (I'm assuming you're using some flavor of Unix here...)

-
James Jones Administrative Data Mgmt.
Webmaster 375 Raritan Center Pkwy, Suite A
Data Architect Edison, NJ 08837


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