Subject: memory leak in 1.4 ?
To: None <port-vax@netbsd.org>
From: Rumen Svobodnikov <rumen@l2.tu-varna.acad.bg>
List: port-vax
Date: 05/28/1999 11:53:47
  
  I see something strange with my NetBSD_1.4/VAX, which looks like a memory
leak to me. The memory occupied by processes (as shown by top) seems to
always increase (and RSS > SIZE, it was my understanding that RSS should be
always <= SIZE). Anyway i just run this simple loop:
while (true) ; do echo -n . ; done
  After running for several minutes look at the result in top:
 
  PID USERNAME PRI NICE   SIZE   RES STATE   TIME   WCPU    CPU COMMAND
  159 root      10    0   460K   17M sleep   0:46 30.18% 30.18% sh

  17M RSS for a simple sh process seems too much. And it is increasing. Btw
this happens with both my custom compiled kernel and the kernel from the
NetBSD 1.4 install (which claims to be 1.4beta)