🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #12500

How serious is memory fragmentation?

#12500
From: Blair MacIntyre
Date: Wed, 03 May 1989 20:11
25 lines
1446 bytes
	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=
Technical Details
Message-ID: <9504@watcgl.waterloo.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!watcgl!bmacintyre

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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