From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3964 invoked from network); 12 Sep 2001 15:33:00 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 12 Sep 2001 15:33:00 -0000 Received: (qmail 22936 invoked by alias); 12 Sep 2001 15:32:49 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 15794 Received: (qmail 22916 invoked from network); 12 Sep 2001 15:32:47 -0000 From: Bart Schaefer Message-Id: <1010912153118.ZM25812@candle.brasslantern.com> Date: Wed, 12 Sep 2001 15:31:18 +0000 In-Reply-To: Comments: In reply to Monty Scroggins "RE: zsh: fatal error: out of memory" (Sep 12, 9:10am) References: X-Mailer: Z-Mail (5.0.0 30July97) To: Monty Scroggins , zsh-workers@sunsite.dk Subject: Re: zsh: fatal error: out of memory MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Sep 12, 9:10am, Monty Scroggins wrote: } } These are the two parameters that were in the .profile } } HISTSIZE=18000; export HISTSIZE } HISTFILE=~/.sh_history; export HISTFILE } } The .sh_history file is 168560k and 7952 lines.. ^ Really? That would be 21700 bytes per line, average, which seems a bit unbelievable. } but maybe zsh should handle this type of problem.. The question is, what is "this type". I think it's more likely that the problem is: } each line starts with one or more characters followed } by the command strings.. Zsh assumes that a history file consists only of the commands themselves; even when `extended_history' is set, it inserts time stamps in `: ...;' form so that they can be interpreted as commands. Any idea which shell created the .sh_history file in the first place? -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net