Re: do the resource limits still work?

Nikita Schmidt (cetus@snowball.ucd.ie)
Mon, 9 Jun 1997 14:49:00 +0100


On Jun 8, Stefan Vogtner wrote:
>
> bash$ ulimit -a
> core file size (blocks) 0
> data seg size (kbytes) 2048
> file size (blocks) 1048576
> max memory size (kbytes) 2048
> stack size (kbytes) 2048
> cpu time (seconds) unlimited
> max user processes 256
> pipe size (512 bytes) 8
> open files 256
> virtual memory (kbytes) 4096
>
>
> I was able to dynamically malloc/statically allocate objects with
> more than 3MB.
>

Plain memory allocation only changes the process' virtual memory size.
Data segment size and stuff does not change until the memory is really
allocated (paged in).

Nikita