Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tlug] Re: tlug-digest Digest V2004 #194



Brett Robson <b-robson@example.com> wrote:
>> "Lyle (Hiroshi) Saxon" <ronfaxon@example.com> wrote:
>> > Ah.... so the program grabs memory, uses it, loses it, and keeps 
>> > grabbing more... resulting in ever less available memory?  Sounds quite 
>> > nasty... is this a common problem?  Does it do this while open or only 
>> > in opening and closing the program?  Hopefully not while open......
>> 
>> Yes, these are the most common reasons. 
>> 
>> 1. A programme when it finishes using a bit of memory doesn't release it
>> or the release fails
>> 2. Doesn't remember that is already has memory and askes again
>> 
>> The language C is notorious for these problems.

The "language C" doesn't have those problems. Programs written in 
low-level languages by sloppy programmers have those problems. If you
try hard enough you can program a memory grabber in almost anything.
C just exposes the machinery more, making it a tad easier for idiots to
stuff things up.

Jim

-- 
Jim Breen                                http://www.csse.monash.edu.au/~jwb/
Computer Science & Software Engineering,                Tel: +61 3 9905 9554
Monash University, VIC 3800, Australia                  Fax: +61 3 9905 5146
(Monash Provider No. 00008C)                ジム・ブリーン@モナシュ大学

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links