Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

RE: zsh: fatal error: out of memory



I have some more info on this one - I finally found
what appears to be a culprit.  The .profile has a
definition - 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??

Thanks

Monty


-----Original Message-----
From: Bart Schaefer [mailto:schaefer@xxxxxxxxxxxxxxxx]
Sent: Tuesday, September 11, 2001 9:07 AM
To: Monty Scroggins; zsh-workers@xxxxxxxxxx
Subject: Re: zsh: fatal error: out of memory


On Sep 10,  1:26pm, Monty Scroggins wrote:
}
} Does anyone have any ideas on this one?
} 
} 	zsh: fatal error: out of memory
} 
} All of these machines are Sun SPARC boxes running 
} solaris 2.6..

It's possible that you're running into a per-process limit, most likely
the maximum allowed size of the environment (e.g. the sum of the lengths
of all the environment variable names plus values).  Make sure you're
NOT doing `setopt all_export' or some such; if your login shell is not
zsh, try something like `printenv | wc' (I've forgotten whether solaris
has printenv) to find out how big the environment is.

-- 
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   



Messages sorted by: Reverse Date, Date, Thread, Author