List Info

Thread: commiting add of very deep




commiting add of very deep
user name
2006-02-22 22:27:35
http://subversion.tigris.org/issues/show_bug.cgi?id=2508







------- Additional comments from roonegtigris.org Wed Feb 22 14:27:33 -0800 2006 -------
The actual underlying cause of the problem is in
read_header_block of
libsvn_fs_fs/fs_fs.c, it has a 1024 byte buffer used for
reading lines out of a
file.  Bumping this up to something larger allows you to
increase the maximum
depth (although I imagine you'll hit other fixed size
buffers later on, such as
when reading the changes lines out of a revision).  I need
to think about what
the best way to deal with this is.  There has to be a limit
at some point,
otherwise the server will be able to run out of memory on
very large paths, but
it should certainly give a more reasonable error message
when the limit is hit.
 I'd also like to see the limit sufficiently higher than
the usual PATH_MAX
values on common platforms so that you're unlikely to hit
it in most cases.

------------------------------------------------------------
---------
To unsubscribe, e-mail: issues-unsubscribesubversion.tigris.org
For additional commands, e-mail: issues-helpsubversion.tigris.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )