From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <200609212241.k8LMfMp09871@demeter.cs.utwente.nl> To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] awk: hex numbers? (and leak(1)) In-reply-to: Your message of "Wed, 20 Sep 2006 22:29:15 +0200." <82c890d00609201329u640b15f9xc6782c1c216528c7@mail.gmail.com> References: <200609201034.k8KAY0w20632@zamenhof.cs.utwente.nl> <82c890d00609200634u42901f17pb537f5b92a34c556@mail.gmail.com> <82c890d00609201329u640b15f9xc6782c1c216528c7@mail.gmail.com> From: Axel Belinfante MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <9867.1158878481.1@demeter.cs.utwente.nl.cs.utwente.nl> Date: Fri, 22 Sep 2006 00:41:22 +0200 Topicbox-Message-UUID: bd34d6c6-ead1-11e9-9d60-3106f5b1d025 thanks all who helped. I fiddled a bit more with my leak (updated my sources contrib). it helped me get more insight in programs memory usage. as a sidenote: one thing i learned is that using lib9p with filetrees when having 'lots' of files 'lots' of strings get stored (partly (largely?) duplicated) due to the estrdup9p in createfile (for uid, guid, muid, and name). (I think for 25000 files this 'cost' 2 Mb or so) would sharing those strings be an option? (or just make things more complicated?) (in this case I rewrote my code to no longer use filetrees - as suggested in 9p(2) - my file hierarchy was very regular indeed) Axel.