Path: utzoo!utgpu!watmath!watcgl!bmacintyre From: bmacintyre@watcgl.waterloo.edu (Blair MacIntyre) Newsgroups: comp.sys.amiga.tech Subject: How serious is memory fragmentation? Message-ID: <9504@watcgl.waterloo.edu> Date: 3 May 89 20:11:38 GMT Reply-To: bmacintyre@watcgl.waterloo.edu (Blair MacIntyre) Distribution: na Organization: UofW Computer Graphics Lab Lines: 25 Because the Amiga has no MMU, etc., we get memory fragmentation as we allocate/deallocate, right? So, what I'm wondering is this: If I want to do alot of small allocs/frees, am I going to fragment memory beyond belief? I'm thinking of something on the order of alocating a new line buffer every time a line is changed ( including freeing the old one ). That isn't exactly the use, but it is about the frequency. Would it be better to manage my own free pool? I don't like the concept of pre-allocating large chunks, however. Does the system unify adjoining blocks of free memory into bigger blocks? It seems to me that I _shouldn't_ have to worry about this stuff, but for some reason I am ... Blair -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-///-= = Blair MacIntyre, bmacintyre@watcgl.{waterloo.edu, UWaterloo.ca} \\\/// = = now appearing at the Computer Graphics Lab, U of Waterloo! \XX/ = = "Don't be mean ... remember, no matter where you go, there you are." BBanzai=