From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from cortex.physiol.su.oz.au ([129.78.139.131]) by hawkwind.utcs.toronto.edu with SMTP id <2688>; Thu, 13 Aug 1992 00:40:55 -0400 Received: by cortex.physiol.su.oz.au (5.57/Ultrix3.0-C) id AA12656; Thu, 13 Aug 92 14:40:34 +1000 From: John (_You_ hide, they seek.) Mackin Date: Thu, 13 Aug 1992 00:32:01 -0400 To: The rc Mailing List Subject: Re: memory leaks In-Reply-To: <92Aug12.220812edt.2680@groucho.cs.psu.edu> Message-Id: <199208131432.12476.rc.babef@physiol.su.oz.au> X-Face: 39seV7n\`#asqOFdx#oj/Uz*lseO_1n9n7rQS;~ve\e`&Z},nU1+>0X^>mg&M.^X$[ez>{F k5[Ah<7xBWF-@-ru?& @4K4-b`ydd^`(n%Z{ Scott says his rc leaks memory on interrupts. Like Byron, I can't duplicate this. Scott, could it be a startup thing? Don't forget that rc, quite legitimately, grows at first when you do things. That's not a leak, because it doesn't _keep_ growing when you _keep_ doing them. As Byron pointed out to me at one stage: --- begin included message From: Byron Rakitzis Date: Thu, 27 Jun 1991 01:33:33 -0500 To: john@syd.dit.csiro.au Subject: Re: rc memory leaks Received: from ARCHONE.TAMU.EDU by ditsydh.syd.dit.csiro.au with SMTP id AA17099 (5.64+/IDA/DIT-0.9 for john); Thu, 27 Jun 91 16:33:56 +1000 Received: by archone.tamu.edu id <22531>; Thu, 27 Jun 1991 01:33:45 -0500 Message-Id: <91Jun27.013345cdt.22531@archone.tamu.edu> Re: sun rc growing slowly. I find that when I start up a copy of rc and type a few things at it, it grows. However, the real test for a memory leak is to type the same command 1000 times. Does the shell grow in this case? (of course, you don't type the same command 1000 times, you . a file with the command written out 1000 times) [...] --- end included message 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. How do you reproduce it, Scott? OK, John.