On Wed, Dec 01, 2021 at 09:32:56PM -0800, skybuck2000 wrote:

>  It would be nice if GIT would respect the following limits:
> 
> new@new-PC MINGW64 /
> $ ulimit -a
> core file size          (blocks, -c) unlimited
> data seg size           (kbytes, -d) unlimited
> file size               (blocks, -f) unlimited
> open files                      (-n) 256
> pipe size            (512 bytes, -p) 8
> stack size              (kbytes, -s) 2036
> cpu time               (seconds, -t) unlimited
> max user processes              (-u) 256
> virtual memory          (kbytes, -v) unlimited

I doubt it could: what you see is Git Bash - being a port of Bash to Windows -
is implementing the shell built-in command `ulimit`. This shell builtin only
has sense on Unix-like systems because there it interacts with the POSIX
syscalls getrlimit/setrlimit which do not exist on Windows, where Git Bash
works. (And even there on POSIX-like systems, not all features exposed by
`ulimit` are actually enforced; for instance, on Linux, you can tweak the
"maximum RSS" limit but it is ignored; other systems have their own quirks).

> Then I could try and set these limits, however I fear if I set them now it 
> will limit GIT even more and it will lead to even sooner crashes... though 
> it's worth a try to see what happens.

I would guess tweaking them would not affect anything.

[...]

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/20211202101456.aznmgbjir773ldma%40carbon.

Reply via email to