Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#245678: zsh: built-in rm -rf fills up the memory
- X-seq: zsh-workers 19905
- From: Clint Adams <clint@xxxxxxx>
- To: Peter Stephenson <pws@xxxxxxx>
- Subject: Re: Bug#245678: zsh: built-in rm -rf fills up the memory
- Date: Mon, 10 May 2004 10:09:56 -0400
- Cc: zsh-workers@xxxxxxxxxx, 245678-submitter@xxxxxxxxxxxxxxx
- In-reply-to: <16158.1084184183@xxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <Pine.LNX.4.44.0405091647230.29962-100000@xxxxxxxxxxxxxxxxxx> <16158.1084184183@xxxxxxx>
> Looks like a rewrite of hrealloc is definitely in order...
>
> Does the bad behaviour go away if USE_MMAP is undefined?
It performs the rm -rf quickly, and there is only one instance in which
h->used + (new - old) is greater than HEAP_ARENA_SIZE:
16336 [out of 0] + (15984 - 15912) > 16360
Odd that h->size seems to be 0.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author