Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #14927
| Path | csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail |
|---|---|
| From | jake <chen.liu.opensource@gmail.com> |
| Newsgroups | gnu.bash.bug |
| Subject | Memory continuesly increase |
| Date | Tue, 18 Dec 2018 23:18:35 -0700 (MST) |
| Lines | 29 |
| Approved | bug-bash@gnu.org |
| Message-ID | <mailman.5938.1545230750.1284.bug-bash@gnu.org> (permalink) |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Transfer-Encoding | 7bit |
| X-Trace | usenet.stanford.edu 1545230751 26261 208.118.235.17 (19 Dec 2018 14:45:51 GMT) |
| X-Complaints-To | action@cs.stanford.edu |
| To | Bug-bash@gnu.org |
| Envelope-to | Bug-bash@gnu.org |
| X-detected-operating-system | by eggs.gnu.org: Mac OS X [generic] [fuzzy] |
| X-Received-From | 162.253.133.57 |
| X-Mailman-Approved-At | Wed, 19 Dec 2018 09:45:49 -0500 |
| X-Content-Filtered-By | Mailman/MimeDel 2.1.21 |
| X-BeenThere | bug-bash@gnu.org |
| X-Mailman-Version | 2.1.21 |
| Precedence | list |
| List-Id | Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org> |
| List-Unsubscribe | <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe> |
| List-Archive | <http://lists.gnu.org/archive/html/bug-bash/> |
| List-Post | <mailto:bug-bash@gnu.org> |
| List-Help | <mailto:bug-bash-request@gnu.org?subject=help> |
| List-Subscribe | <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe> |
| Xref | csiph.com gnu.bash.bug:14927 |
Show key headers only | View raw
Hi all,I did a test about run a bash scriplt never quit,but met a memory usage issue that cause used memory continuous increase.This issue was present in bash-3.2.x, bash-4.0.x, bash-4.1.x, bash-4.2.x, bash-4.3.x. However, This issue was disappeared in bash-4.4.0, I can't trace which patch fixed the issue or which new feature was introduced in bash-4.4.0.Here is bash script:------------------------------------------------------------------------------#!/bin/bashlogger "Started testing"while(true);do while (true); do ls > /dev/null donedone-------------------------------------------------------------------------------root@localhost:/root> cat /proc/767/smaps |grep -A10 heap01ba5000-01be8000 rw-p 00000000 00:00 0 [heap]Size: 268 kBRss: 152 kBPss: 152 kBShared_Clean: 0 kBShared_Dirty: 0 kBPrivate_Clean: 0 kBPrivate_Dirty: 152 kBReferenced: 152 kBSwap: 0 kBKernelPageSize: 4 kB----------------------------------------------------------------------------------root@localhost:/root> cat /proc/767/smaps |grep -A10 heap00d4c000-00e55000 rw-p 00000000 00:00 0 [heap]Size: 1060 kBRss: 1048 kBPss: 1048 kBShared_Clean: 0 kBShared_Dirty: 0 kBPrivate_Clean: 0 kBPrivate_Dirty: 1048 kBReferenced: 1048 kBSwap: 0 kBKernelPageSize: 4 kB----------------------------------------------------------------------------------Could someone help to tell me which part of changes in bash-4.4.0, that would be give me a direction backport code changes from bash-4.4 to bash-3.2.x and bash-4.3.x.Thanks,Chen. -- Sent from: http://gnu-bash.2382.n7.nabble.com/
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
Memory continuesly increase jake <chen.liu.opensource@gmail.com> - 2018-12-18 23:18 -0700
csiph-web