From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from groucho.cs.psu.edu ([130.203.2.10]) by hawkwind.utcs.toronto.edu with SMTP id <2706>; Thu, 13 Aug 1992 03:56:38 -0400 Received: from localhost by groucho.cs.psu.edu with SMTP id <2686>; Thu, 13 Aug 1992 03:56:14 -0400 To: John Mackin (_You_ hide, they seek.) cc: The rc Mailing List Subject: Re: memory leaks In-reply-to: Your message of "Thu, 13 Aug 92 00:32:01 EDT." <199208131432.12476.rc.babef@physiol.su.oz.au> Date: Thu, 13 Aug 1992 03:56:05 -0400 From: Scott Schwartz Message-Id: <92Aug13.035614edt.2686@groucho.cs.psu.edu> | Scott says his rc leaks memory on interrupts. Like Byron, I can't duplicate | this. Hmmm. Maybe there is something system specific involved? I tested it on a sparc2 with gcc 2.2.2. | Scott, could it be a startup thing? I don't think so. It grows on every ^C. One of the typescripts I just posted starts with an empty environment; no prompt function or other junk. | I tried this with 1.4. Do a ps l of your rc, then in another window | (to avoid observer effect) run "for (x in `{seq 1000}) kill -2 ". | Do another ps. It doesn't grow. Hmmm. It just did for me: Script started on Thu Aug 13 03:45:18 EDT 1992 ; ps v26812 PID TT STAT TIME SL RE PAGEIN SIZE RSS LIM %CPU %MEM COMMAND 26812 q1 I 0:00 41 99 0 96 340 xx 0.0 2.3 rc ; kill -2 26812 ; ps v26812 PID TT STAT TIME SL RE PAGEIN SIZE RSS LIM %CPU %MEM COMMAND 26812 q1 S 0:00 3 99 0 96 344 xx 0.0 2.3 rc ; kill -2 26812 ; ps v26812 PID TT STAT TIME SL RE PAGEIN SIZE RSS LIM %CPU %MEM COMMAND 26812 q1 S 0:00 5 99 0 100 344 xx 0.0 2.3 rc ; Script done on Thu Aug 13 03:45:56 EDT 1992