From: patchkov@acs1.acs.ucalgary.ca (Serguei Patchkovskii)
Subject: Re: How do you release memory back to the kernel in C
Date: 1998/05/20 [thread overview]
Message-ID: <6jv9kk$uqc@ds2.acs.ucalgary.ca> (raw)
In-Reply-To: Et9nr8.303@igsrsparc2.er.usgs.gov
Chris Engebretson (engebret@sg1.cr.usgs.gov) wrote:
: What I generally recommend is freeing the block one byte at a time:
Actually, real programmers never allocate memory from the kernel
at all (in part because they do not like to share their hardware
with somebody else's program, and kill the kernel as soon as they
can lay their hands on the console switches). Real programmers
use statically dimentioned arrays, and retype the object code
with the new size by hand when the old limit is exceeded. In this
way, that pesky problem with releasing memory is avoided altogether.
Cheers,
/Serge.P
next prev parent reply other threads:[~1998-05-20 4:00 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-05-19 4:00 How do you release memory back to the kernel in C Asgar Ali
1998-05-19 4:00 ` Kaz Kylheku
1998-05-20 4:00 ` Chris Engebretson
1998-05-20 4:00 ` Serguei Patchkovskii [this message]
1998-05-20 4:00 ` Larry Weiss
1998-05-20 4:00 ` Kaz Kylheku
1998-05-20 4:00 ` Larry Weiss
[not found] ` <125D9A1BA03D8776.FEF9821DB00860BE.0E4 <895712304snz@genesis.demon.co.uk>
1998-05-21 4:00 ` Kaz Kylheku
1998-05-21 4:00 ` Larry Weiss
1998-05-21 4:00 ` Chris Engebretson
[not found] ` <2DECFB7C2125FF12.8D639AF581546583.E29C243161345CFE@library-proxy.airnews.net>
1998-05-22 4:00 ` CoolDoug
1998-05-22 4:00 ` Larry Weiss
1998-05-22 4:00 ` Kaz Kylheku
1998-05-25 4:00 ` Rolf Magnus
1998-05-25 4:00 ` Larry Weiss
1998-05-29 4:00 ` Patrick M.
1998-05-24 4:00 ` Al Bowers
1998-05-20 4:00 ` Larry Weiss
1998-05-21 4:00 ` Asgar Ali
1998-05-21 4:00 ` Kaz Kylheku
1998-05-23 4:00 ` Gerald A. Feldman
1998-05-19 4:00 ` Lawrence Kirby
1998-05-21 4:00 ` John Hascall
1998-05-22 4:00 ` Asgar Ali
1998-05-19 4:00 ` firewind
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox