zsh-workers
 help / color / mirror / code / Atom feed
From: Monty Scroggins <c-Monty.Scroggins@wcom.com>
To: zsh-workers@sunsite.dk
Subject: RE: zsh: fatal error: out of memory
Date: Wed, 12 Sep 2001 09:10:15 -0500	[thread overview]
Message-ID: <AMEBKGFHHNFCEKKEGEOIKEEJCBAA.c-Monty.Scroggins@wcom.com> (raw)
In-Reply-To: <010911161924.ZM24820@candle.brasslantern.com>


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..
This seems like an absurdly large history file and I
am skeptical that anyone could take advantage of it all..
but maybe zsh should handle this type of problem..

I attempted to put a sample of the history file in this
message, but due to the control characters in the lines,
the mail client didn't paste in any text..  In looking
at the file in my text editor (NEdit) it looks like
each line starts with one or more <nul> characters followed
by the command strings..

If nothing else could (or should) be done about this problem,
maybe the error string could be enhanced a bit.. The error text
"out of memory", while being true, was vague enough
that I was heading down a wrong path to resolve the issue...

Just a thought...

Monty

-----Original Message-----
From: Bart Schaefer [mailto:schaefer@brasslantern.com]
Sent: Tuesday, September 11, 2001 6:19 PM
To: Monty Scroggins; zsh-workers@sunsite.dk
Subject: Re: zsh: fatal error: out of memory


On Sep 11,  5:22pm, Monty Scroggins wrote:
>
> HISTFILE=~/.sh_history; export HISTFILE
>
> This seems to have been what was causing me all the
> headaches...   Is this a bug in ZSH?  Is this something
> that ZSH should handle??

At the least it demonstrates a potential problem with different shells using
the same parameter name for what may be differently-formatted data.

What does the content of ~/.sh_history look like?  What's the file size?

It's also possible that it's the setting of HISTSIZE and/or SAVEHIST that
are actually the problem.  Are those parameters set?


  reply	other threads:[~2001-09-12 14:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-10 18:26 Monty Scroggins
2001-09-11 14:07 ` Bart Schaefer
2001-09-11 22:22   ` Monty Scroggins
2001-09-11 23:19     ` Bart Schaefer
2001-09-12 14:10       ` Monty Scroggins [this message]
2001-09-12 15:31         ` Bart Schaefer
2001-09-12 16:08           ` Oliver Kiddle
2001-09-12 21:13             ` Bart Schaefer
2001-09-13  5:32               ` Borsenkow Andrej
2001-09-12 16:11           ` Monty Scroggins

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=AMEBKGFHHNFCEKKEGEOIKEEJCBAA.c-Monty.Scroggins@wcom.com \
    --to=c-monty.scroggins@wcom.com \
    --cc=zsh-workers@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).