From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1014db,cea30133e185dc3 X-Google-Attributes: gid1014db,public X-Google-Thread: fee84,cea30133e185dc3 X-Google-Attributes: gidfee84,public From: Larry Weiss Subject: Re: How do you release memory back to the kernel in C Date: 1998/05/20 Message-ID: <2A3FFFF0F263FE92.4CA975D30D30B3FB.DBBF6013179C7D1E@library-proxy.airnews.net>#1/1 X-Deja-AN: 355067741 Content-Transfer-Encoding: 7bit References: <35616C36.9167165F@citicorp.com> <35620a04.2342689789@207.126.101.81> <6jv9kk$uqc@ds2.acs.ucalgary.ca> X-Orig-Message-ID: <35634405.1510@airmail.net> Content-Type: text/plain; charset=us-ascii NNTP-Posting-Time: Wed May 20 15:58:44 1998 Organization: ... NNTP-Proxy-Relay: library.airnews.net Mime-Version: 1.0 Abuse-Reports-To: abuse at airmail.net to report improper postings Newsgroups: comp.unix.osf.osf1,comp.lang.c Serguei Patchkovskii wrote: > 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. > Now you've got me all nostalgic for my FORTRAN coding days... - Larry Weiss