Thread (8 messages) flat view 8 messages, 4 authors, 2016-06-15

Re: git-cvsexportcommit fails for huge commits

From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2016-06-15 22:43:58


On Wed, 12 Dec 2007, Jeff King wrote:
 
+sub xargs_safe_pipe_capture {
+	my $MAX_ARG_LENGTH = 1024;
Well, that's a bit extreme. Make it 16kB or something. Anything should be 
able to handle that.

Btw, on Linux, the argument length is realy only limited by the stack size 
limits these days (you have to have a fairly recent kernel, though). It's 
limited to stack limit / 4, to be exact, iirc. So if you see these kinds 
of problems, and are running a recent kernel, do something like

	ulimit -s 65536

to give yourself a big stack and you can continue without these kinds of 
changes..

		Linus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help