delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/12/14/10:04:42

Date: Wed, 14 Dec 1994 09:19:31 +0000 (GMT)
From: Roseboom <C DOT ROSEBOOM AT ATO DOT AGRO DOT NL>
Subject: Is there a garbage collector included?
To: djgpp AT sun DOT soe DOT clarkson DOT edu

Hello,

I'm new in this list, but I have a question about garbage collect.

*** Is this compiler using a sort of garbage collect to solve some memory 
    problems ?




I wanted to use this compiler for my machine learning program.

I am using a machine learning program that runs under DOS which creates 
iteratively binary trees. This program is very liberal in allocating memory 
for temporal structures. This causes fragmentation of the heap, causing a 
system crash. As these structures are also frequently freed, the total actual
memory usage on the time of the system crash stays limited 
(so still memory available on the moment of the crash).

Currently I'm working on a solution to solve this fragmentation. One solution 
is implemting a Garbage Collector. A problem is that we do not have a 
standard garbage collector for C/C++ under DOS. 

*** Do you have a standaard garbage collector under DOS ?


Thanks ,

------------------------------------------------------------------------------
 Ceel Roseboom                                        IN%"Roseboom AT ato DOT agro DOT nl"
 ATO-DLO, Dept. Systems Research
 PO box 17         
 6700 AA Wageningen                                        Tel (+31) 8370 75264
 The Netherlands                                           Fax (+31) 8370 12260
-------------------------------------------------------------------------------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019