zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-users@sunsite.dk
Subject: Re: maximum value for HISTSIZE ?
Date: Sat, 01 Apr 2006 14:29:51 -0800	[thread overview]
Message-ID: <060401142951.ZM9358@torch.brasslantern.com> (raw)

On Apr 1, 11:32am, Andy Spiegl wrote:
} Subject: Re: maximum value for HISTSIZE ?
}
} > So is there a maximum value or/and on what does it depend?
} 
} Really no one knows?

There isn't a fixed maximum.  Zsh will try to use all the memory your
system will allocate to it to maintain as large a history as you ask.
When the memory runs out depends on your system.

I don't know exactly what's happening in _all_labels, but it's most
likely trying to create an array indexed on history number.  When zsh
creates an array and is asked to insert an element at index N, all of
the N-1 elements at lesser index positions are also allocated, even if
there's nothing to put in them.


             reply	other threads:[~2006-04-01 22:29 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-01 22:29 Bart Schaefer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-04-10 17:17 Wayne Davison
2006-04-10 17:04 Barton Schaefer
2006-04-10 13:57 Andy Spiegl
2006-04-02  6:54 Bart Schaefer
2006-04-02  0:33 Andy Spiegl
2006-04-01 20:47 Andy Spiegl
2006-04-01 19:10 Carlos Carvalho
2006-04-01  9:32 Andy Spiegl
2006-03-30 12:26 Andy Spiegl
2006-03-30 12:58 ` Francisco Borges
2006-03-30 15:18   ` Andy Spiegl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=060401142951.ZM9358@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).