Path: utzoo!utgpu!water!watmath!clyde!saf@moss.ATT.COM From: saf@moss.ATT.COM Newsgroups: comp.sys.mac.programmer Subject: Re: MultiFinder and TopMem() question Summary: MF and memory Message-ID: <23242@clyde.ATT.COM> Date: 13 Mar 88 16:57:23 GMT References: <730008@hpcilzb.HP.COM> Sender: nuucp@clyde.ATT.COM Lines: 18 This is not quite the answer to the question asked but it may be useful/helpful. I needed to know how much memory was available to my application both stand-alone and under MF. The following works (MPW C): THz save_my_zone; Size my_allotment; save_my_zone = GetZone(); SetZone(ApplicZone()); (void) MaxMem(&my_allotment); SetZone(save_my_zone); This sets "my_allotment" to the number of bytes available. Note that it only works if you are asking about the original application zone (or so says IM - I have not played with it extensively). Steve Falco moss!saf saf@moss.ATT.COM