From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4266 invoked from network); 12 Sep 2001 16:14:44 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 12 Sep 2001 16:14:44 -0000 Received: (qmail 29847 invoked by alias); 12 Sep 2001 16:14:37 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 15797 Received: (qmail 29836 invoked from network); 12 Sep 2001 16:14:36 -0000 Date: Wed, 12 Sep 2001 11:11:50 -0500 From: Monty Scroggins Subject: RE: zsh: fatal error: out of memory In-reply-to: <1010912153118.ZM25812@candle.brasslantern.com> To: Bart Schaefer , zsh-workers@sunsite.dk Message-id: MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal My mistake.. the file size should have been 168560 bytes not k bytes... By "type of problem", I assumed the problem is in the sheer size of the history file. I did not realize the format is different than what zsh expects. The shell history file would have been created from ksh. It looks like ksh is used as a default shell for all the users on that box.. Monty -----Original Message----- } 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?