Path: chuka.playstation.co.uk!news From: James Russell Newsgroups: scee.yaroze.beginners Subject: Re: How to know how max memory used? Date: Thu, 29 Jul 1999 14:53:47 +0100 Organization: Sony Computer Entertainment Europe Lines: 17 Message-ID: <37A05CEB.E143C43A@scee.sony.co.uk> References: <379F54A6.5A2FCBBA@chowfam.demon.co.uk> NNTP-Posting-Host: mailgate.scee.sony.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.51 [en] (Win95; I) X-Accept-Language: en James Chow wrote: > > Does anyone know how to estimate the maximum of main memory used at any > one time during the lifetime of the program? Get the linker to generate a map file, and this will tell you where it's placing all your code in memory. You can use this combined with your SIOCONS upload file to determine which parts are getting taken up with data. The amount of memory you're 'malloc'ing, you'll have to keep track of internally in the program. James -- == James_Russell@scee.sony.co.uk ph: +44 (171) 447-1626 - fax: 390 4324 == Tools and Middleware Licensing Manager - Sony Computer Entertainment Europe "YOU! Kidney failure!" --Death