From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 193 invoked from network); 13 Dec 1999 18:25:13 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 13 Dec 1999 18:25:13 -0000 Received: (qmail 16836 invoked by alias); 13 Dec 1999 18:24:54 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2778 Received: (qmail 16829 invoked from network); 13 Dec 1999 18:24:52 -0000 From: "Bart Schaefer" Message-Id: <991213182445.ZM11778@candle.brasslantern.com> Date: Mon, 13 Dec 1999 18:24:44 +0000 In-Reply-To: Comments: In reply to nirva@ishiboo.com (Danny Dulai) "zsh and memory" (Dec 13, 6:15am) References: X-Mailer: Z-Mail (5.0.0 30July97) To: nirva@ishiboo.com (Danny Dulai), zsh-users@sunsite.auc.dk Subject: Re: zsh and memory MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Dec 13, 6:15am, Danny Dulai wrote: } Subject: zsh and memory } } Any hints on how to make zsh not consume as much memory as it does? } I'm not using the zftp or stat modules. Any thing else I can do? It'd be easier to answer the question if we knew what you ARE doing. "Is there any way I can get rid of these lumps on my head? I'm not hitting myself with a hammer." Various things you should avoid if memory is a problem include: setopt ALLEXPORT use large here-documents define lots of shell functions without using autoload use "zed" (old) or the mapfile module (new) to edit files use the new 3.1.6 shell-function-based completion system The last one is a bit unfortunate, but just "compinit" (without even trying any completions yet) adds half a megabyte to the RSS of zsh on my system, and it only goes up from there as functions autload and start caching their results in shell variables. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com