bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re:


From: Chet Ramey
Subject: Re:
Date: Tue, 15 Jul 2014 16:23:23 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

On 7/14/14, 12:46 AM, Tran Thuan wrote:

> I wrote a simple loop as following:
> 
> 
> 
> while true; do
> 
>                                 sleep 1
> 
>                                 echo "hello"
> 
> done
> 
> 
> 
> But the RSS (resident set size) continue increase. (Check by ps command)
> 
> Is it possible a bug of bash? Could you please help me check it?

I can't reproduce this on MacOS X or RHEL 5 using bash-4.2 and bash-4.3.
You might try running your script using `valgrind' and seeing what that
tells you.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]