Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!comp.vuw.ac.nz!nickson From: nickson@comp.vuw.ac.nz (Ray Nickson) Newsgroups: gnu.bash.bug Subject: memory leak Message-ID: <8909040109.AA21348@comp.vuw.ac.nz> Date: 4 Sep 89 01:07:38 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 25 The following bug which I reported in version 1.02 does not seem to have gone away in 1.03. From: Ray Nickson Date: Fri, 25 Aug 89 15:59:34 +1200 I don't think this has been reported before; apologies if it has. Loops cause bash (1.02, gcc-compiled on HP300s running MORE/Bsd and Sun380s running SUNOS4) to consume memory without bound. This is quite dramatic; put bash into a tight loop (while :; do :; done) and watch the memory size; it goes up tens of Ks a second on a lightly loaded sun. Similar behaviour also occurrs with other more realistic loops, adding 20K or so for every half dozen iterations. Sorry I can't give any more details, I'll look deeper if you can't reproduce it. -rgn -- Ray Nickson, Dept. Comp. Sci., Victoria University of Wellington, New Zealand. nickson@comp.vuw.ac.nz ...!uunet!vuwcomp!nickson + 64 4 721000x8593