On Mon, 1 Nov 2021 14:55:25 +0200, Aki Tuomi said:

>I think this is happening because MacOS no longer supports RLIMIT_DATA.

I just tried on macOS 12.1 beta and getrlimit(RLIMIT_DATA) gives RLIM_INFINITY 
for both current and max (and so does my macOS 10.14 box).

On Monterey, using setrlimit() to reduce 'current' works for large numbers, but 
does return error for low numbers.  On my hardware at least, it starts to 
return error around 419 GB.

Sean


Reply via email to