Re: malloc() exceeds RLIMIT_DATA

2019-07-08 Thread Martin Husemann
On Mon, Jul 08, 2019 at 06:06:34PM -0700, Graham Percival wrote: > Thomas Klausner (wiz@) suggested that I write to this list. It appears that > NetBSD's malloc() will allocate more than RLIMIT_DATA's rlim_max. The classical "data segment" (limited by RLIMIT_DATA) is not used much nowadays in Net

malloc() exceeds RLIMIT_DATA

2019-07-08 Thread Graham Percival
(attachment included this time, sorry!) Greetings, Thomas Klausner (wiz@) suggested that I write to this list. It appears that NetBSD's malloc() will allocate more than RLIMIT_DATA's rlim_max. The attached use-memory.c will: 1) call getrlimit(RLIMIT_DATA, ...); to find the "soft" and "hard" li

malloc() exceeds RLIMIT_DATA

2019-07-08 Thread Graham Percival
Greetings, Thomas Klausner (wiz@) suggested that I write to this list. It appears that NetBSD's malloc() will allocate more than RLIMIT_DATA's rlim_max. The attached use-memory.c will: 1) call getrlimit(RLIMIT_DATA, ...); to find the "soft" and "hard" limits, as per http://pubs.opengroup.