Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!columbia!rutgers!dayton!viper!john From: john@viper.UUCP (John Stanley) Newsgroups: comp.sys.atari.st Subject: Re: ST memory management Message-ID: <951@viper.UUCP> Date: Sat, 9-May-87 13:37:09 EDT Article-I.D.: viper.951 Posted: Sat May 9 13:37:09 1987 Date-Received: Sun, 10-May-87 05:44:38 EDT References: <2060@ihuxz.ATT.COM> Reply-To: john@viper.UUCP (John Stanley) Organization: DynaSoft Systems Lines: 23 Keywords: Malloc, memory In article <2060@ihuxz.ATT.COM> burris@ihuxz.ATT.COM (Burris) writes: > >Does anyone know of ANY programs that play funny games with the memory >allocation and free lists that cause valid holes in memory? > >I was considering hacking up a memory list audit that monitors the lists >and attempts to correct them when block of memory becomes "lost". > >Specifically, I need to know if there are any reasons why there would be >valid holes in the lists between the bottom and the top of the user program >memory. It doesn't seem that there should be but then things aren't always >as they seem. > Depends on when you'd be running this "audit". Inside of any program that allocates and frees memory, there will certanly be times when "holes" will appear in the memory map. The same thing can occur when a program shifts its stack area into a malloced block of memory or maybe when a program terminates leaving part of itself behind... (not sure on that last one...) A better solution might be to hack up a fix for the memory managment routines already in ROM...