Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!husc6!seismo!rochester!cornell!batcomputer!braner From: braner@batcomputer.UUCP Newsgroups: comp.sys.atari.st Subject: Re: how to allocate a big chunk of memory? Message-ID: <641@batcomputer.tn.cornell.edu> Date: Wed, 8-Apr-87 23:06:02 EST Article-I.D.: batcompu.641 Posted: Wed Apr 8 23:06:02 1987 Date-Received: Sat, 11-Apr-87 13:49:17 EST References: <4464@utah-cs.UUCP> Reply-To: braner@tcgould.tn.cornell.edu.UUCP (braner) Organization: Theory Center, Cornell University, Ithaca NY Lines: 11 Keywords: malloc, Malloc Summary: No easy way [] The C (and other) compilers can only give you what TOS yields, even if it is repackaged. So for example, Megamax C takes big (8K or larger) chunks from TOS, using Malloc(), when you do a malloc(), then manages those chunks on its own when you do more malloc()s. It never returns the space to TOS until you exit the program, even if you free() it all! I wonder if some ways of using Malloc() are safe. - Moshe Braner