"Ornstein, Adam" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I have an odd developer question.  Why should developers care about memory
> leaks in their programs?  The OS cleans up the extra junk anyways.  Is
there
> a real technical reason that we would need to get rid of all memory leaks?

You're kidding, aren't you?..

Sure, the OS will clean up once your app shuts down, but the OS does not
have any garbage collection per se, so if your app is running for a long
period of time, it could eventually chew up all system resources (depending
on the location of the leak, etc.)

If your app has memory leaks, it's a coding error.  Just fix it.  The
emulator logs make this pretty damn easy too.

Alan



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to