🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #506

memory leak

#506
From: Ray Nickson
Date: Fri, 25 Aug 1989 03:59
18 lines
1084 bytes
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
Technical Details
Message-ID: <8908250403.AA19673@comp.vuw.ac.nz>
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!comp.vuw.ac.nz!nickson

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!uunet!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: <8908250403.AA19673@comp.vuw.ac.nz>
Date: 25 Aug 89 03:59:34 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 18