From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25223 invoked by alias); 24 Jun 2016 16:03:19 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 21703 Received: (qmail 24460 invoked from network); 24 Jun 2016 16:03:18 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-IBM-Helo: d06dlp01.portsmouth.uk.ibm.com X-IBM-MailFrom: vogt@linux.vnet.ibm.com X-IBM-RcptTo: zsh-users@zsh.org Date: Fri, 24 Jun 2016 14:47:06 +0100 From: Dominik Vogt To: Zsh Users Cc: Robin Dapp Subject: Memory usage of history? Reply-To: vogt@linux.vnet.ibm.com Mail-Followup-To: Zsh Users , Robin Dapp MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16062413-0024-0000-0000-000001E68E9F X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 16062413-0025-0000-0000-00001F6774A8 Message-Id: <20160624134706.GA22704@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-06-24_07:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1604210000 definitions=main-1606240150 Could someone please explain the implications of having a large history file? Does an interactive zsh read the history file into private memory upon startup, or how does this work? Is there a way to reduce memory and cpu consumption somehow? (A colleague says his zshs use 200 MB memory each with a history size of a million lines). Ciao Dominik ^_^ ^_^ -- Dominik Vogt IBM Germany