Note that blobs are limited to 1G, so artifacts are limited to 1G
compressed, even on a 64-bit processor with 8GB of memory (I tried).
Gé
On 01/07/2010 08:15 AM, Stephan Beal wrote:
On Thu, Jan 7, 2010 at 4:32 PM, T.J. Yang <tj_y...@hotmail.com
<mailto:tj_y...@hotmail.com>> wrote:
I may split up source tree into a few branches, but
What is biggest size a .fsl should limit to ?
_in theory_, the largest item which can portably be committed is
somewhere around 1.7GB. That number comes from:
a) max memory space for 32-bit platforms = ~4GB. In my experience,
3.6-3.8GB is the max.
b) fossil does its diffs in memory, meaning 2 copies (plus the delta)
are in memory.
That said, it is theoretically possible to create fossil repos on
64-bit platforms which will not work on 32-bit platforms if individual
artifacts are too big. The file format itself is
endian/bitness-neutral, but the limits of 32 bits can still be hit.
For example, if an artifact is 1.95GB in size, diffing that artifact
is very likely to fail on 32-bit systems because fossil probably won't
be able to malloc() two contiguous chunks of 1.95GB each.
Also I hope the warning of oversized .fsl should come out of the
fossil commands somehow.
i can't personally say how well suited sqlite3 is for >4GB resp.
>32bit, but Richard can certainly enlighten us there. IMO, though,
anything more than a few hundred MB is out of scope for a fossil
repository. i wouldn't even bother to put such large repos in source
control - i'd just put the parts which have to be versioned AND will
change often into source control, and store the rest as tar files or
in a separate tree.
--
----- stephan beal
http://wanderinghorse.net/home/stephan/
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
--
Gé Weijers email: g...@weijers.org <mailto:g...@weijers.org>
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users