Using ofstream with xml_oarchive to write a file larger than 2GB

4 Oct
2006
4 Oct
'06
10:09 p.m.
From: Thomas D'Silva
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
6753
Age (days ago)
6753
Last active (days ago)
0 comments
1 participants
participants (1)
-
james.jonesīŧ firstinvestors.com