delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/01/01/07:36:59

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Michael Bax" <bax3 DOT NO AT SPAM DOT bigfoot DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: tcsh hangs after updating to cygwin 1.5.7-1. Expires with "Out of Memory"
Date: Sat, 1 Jan 2005 04:36:34 -0800
Message-ID: <ECEEJLCHJDLKMHGOACFJAEGLCDAA.bax3.NO@SPAM.bigfoot.com>
MIME-Version: 1.0

> > > I have experienced exactly the same problem! On two different machines
> > > running XP.
> >
> > I'm running XP *and* I'm using tcsh on a regular basis and I'm not able
> > to reproduce that effect.
>
> Well, I know of at least one way to cause this problem!  My cygwin
> installation was running fine for over a year on an XP machine without
> any problems.  Today, out of nowhere, it starts giving me the "Out of
> memory" error whenever I try to run tcsh.

> Looking in that directory revealed that the .history file was huge.

This happened to me today also, on a 128 MB Windows 2000 SP4 machine.  All
was well until yesterday, when tcsh failed a couple of times, but it seemed
to be inconsistent.  Today tcsh crashed every time I invoked it without -f.

I discovered that my .history file was 53 MB in size!  This is with
	history	1024
	savehist	(1024 merge)
in my .login.

> wc .history
	0 3316299 53060768 .history

Examination of the .history file shows it to be garbage.  It contains
nothing but a sea of repeated copies of $prompt (when in $HOME, post
variable substitution).

Could there be a problem with the history save or merge code?

	cygwin 1.5.12-1
	tcsh 6.13.00-2

Cheers
Michael


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019