"Jonathan A. Kollasch" <jakll...@kollasch.net> writes: > This is normal with modern anonymous memory allocations for malloc.
It seems like a clear bug; the point of limits is to constrain a program, and the program is in effect unconstrained. POSIX says that if the limit is exceed, malloc shall fail: https://pubs.opengroup.org/onlinepubs/9799919799/functions/setrlimit.html I can see the point that malloc does not use the 'data segment'.