Path: utzoo!attcan!uunet!seismo!sundc!netxcom!sdutcher From: sdutcher@netxcom.UUCP (Sylvia Dutcher) Newsgroups: comp.lang.c Subject: Re: Storage Allocation/compaction Keywords: malloc Message-ID: <904@netxcom.UUCP> Date: 21 Jul 88 21:38:05 GMT References: <2045@uhccux.uhcc.hawaii.edu> <540@sbsvax.UUCP> Reply-To: sdutcher@netxcom.UUCP (Sylvia Dutcher) Organization: NetExpress Communications, Inc., Vienna, VA Lines: 28 In article <540@sbsvax.UUCP> greim@sbsvax.UUCP (Michael Greim) writes: >In article <2045@uhccux.uhcc.hawaii.edu>, lupton@uhccux.uhcc.hawaii.edu (Robert Lupton) writes: (lines deleted) >< Does anyone have a public domain storage allocator that could replace >< malloc/realloc/free that also has a call to compactify the memory? I >< don't wan't to write one, and I don't have a source licence to add a >< call to the system version. From what I remember of the 4.2 malloc, using >< realloc on freed space wouldn't help, as it doesn't compact the different >< free lists. >< >< Robert Lupton (reply from Michael Greim deleted) (sorry about this, I couldn't find the original posting) Try Dr. Dobb's Journal (of Software Tools) from June 1988. It discusses malloc and free problems and includes C code. I haven't tried it, but it might help. The column is C Chest by Allen Holub. Good luck. -- Sylvia Dutcher * The likeliness of things NetExpress Communications, Inc. * to go wrong is in direct 1953 Gallows Rd. * proportion to the urgency Vienna, Va. 22180 * with which they shouldn't.