Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: argv subscript range uses too many memory
- X-seq: zsh-workers 30810
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: argv subscript range uses too many memory
- Date: Tue, 20 Nov 2012 21:05:52 +0000
- Cc: Han Pingtian <hanpt@xxxxxxxxxxxxxxxxxx>
- In-reply-to: <121120094443.ZM5584@torch.brasslantern.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20121108084001.GA7594@localhost.localdomain> <20121108100226.575b0788@pwslap01u.europe.root.pri> <20121110105811.GA7136@localhost.localdomain> <121110065709.ZM4781@torch.brasslantern.com> <20121120130457.GD2500@localhost.localdomain> <121120090300.ZM5552@torch.brasslantern.com> <121120094443.ZM5584@torch.brasslantern.com>
On Tue, 20 Nov 2012 09:44:42 -0800
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> So what we need is a fast way to estimate how much uncollected garbage
> is in the heap -- or, conversely, a fast way to estimate how close we
> are to running out of memory -- so that garbage collection can be put
> off until it's necessary.
>
> Or, as I said before, find a scope in which to pushheap/popheap ...
Instead of optimising freeheap for the case where the are lots of
heaps, could we just increase HEAPSIZE? It's only 16384 (minus a
header), which seems pretty small to me.
Or could we make it a variable, so the more memory you acquire the
larger it is? Then if you need a lot of memory you're not constantly
allocating it in small chunks.
--
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author