Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!UTCVM.BITNET!JWANKERL From: JWANKERL@UTCVM.BITNET ("Josef W. Wankerl") Newsgroups: comp.sys.apple Subject: Re: Memory Requirements Message-ID: <9001171351.AA09899@apple.com> Date: 17 Jan 90 13:47:23 GMT References: Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 27 On Tue, 16 Jan 90 11:42:32 EST Matthew Montano said: > Is there any "bullet-proof" method of determining the memory requirements of >a program quickly and easily? > > Other than the memory the program requests, and the amount of memory the >program takes up, what sort of overhead for System 5.0 and what rule of thumb >can I follow to determine the memory required to run a program in a machine. > > >UUCP: crash!pro-generic!sysop >ARPA: crash!pro-generic!sysop@nosc.mil >INET: sysop@pro-generic.cts.com Well one way to do it is to start your system with no ram disk and see if it works. Then start playing with the ram disk size (on rom 1 this is the minimum size, not the maximum size, on rom 3 I believe it doesn't matter, you only have 1 thing to play with). Just take it down in multiple of 256K increments until your program fails to work anymore. Then you know how much memory is needed. You could even do some kind of binary search with the ram disk size if you really wanted to. /**********************************************************************\ |* Joe "Gonzo" Wankerl |*| The views expressed here are *| |* BITNET => JWANKERL@UTCVM |*| not necessarily yours... *| |* |*| ...but they should be. *| \**********************************************************************/