Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!ginosko!uakari.primate.wisc.edu!polyslo!ttwang From: ttwang@polyslo.CalPoly.EDU (Thomas Wang) Newsgroups: comp.lang.c Subject: Heap Fragmentation Message-ID: <1989Sep27.045926.12634@polyslo.CalPoly.EDU> Date: 27 Sep 89 04:59:26 GMT Reply-To: ttwang@polyslo.CalPoly.EDU (Thomas Wang) Distribution: na Organization: Cal Poly State University -- San Luis Obispo Lines: 14 Is heap fragmentation in C a problem or non-problem? I asked this question because I am in the middle of doing a garbage collector for C++. If heap fragmentation is not a problem, then I need not move the heap objects to compact the heap. Are there any estimate of the space wasted, or performance decrease due to heap fragmentations? -Thomas Wang ("This is a fantastic comedy that Ataru and his wife Lum, an invader from space, cause excitement involving their neighbors." - from a badly translated Urusei Yatsura poster) ttwang@polyslo.calpoly.edu