Thread View: gnu.bash.bug
1 messages
1 total messages
Started by Ray Nickson
Fri, 25 Aug 1989 03:59
memory leak
Author: Ray Nickson
Date: Fri, 25 Aug 1989 03:59
Date: Fri, 25 Aug 1989 03:59
18 lines
1084 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads