|Oct 16, 2010, 08:53 PM||#1|
If you fail to release memory in a program, what is the worst that can happen? Is it just the case that you must shutdown the computer to release the memory, or can you have more significant problems?
|Oct 16, 2010, 10:12 PM||#2|
Nothing of that severity at all. When your program exits, the memory is returned to the system. Worst case users have to restart your program as it gets bloaty, and they get sick of doing so, and stop using your program. You're not going to do anything to hardware, etc.
EDIT: I guess if you leak badly enough that the system exhausts RAM and swap then the OS will no longer be able to grant requests for memory, and the system will start behaving oddly. This is the most extreme case, but it happens.
Last edited by lee1210; Oct 16, 2010 at 10:49 PM.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Memory Leaks in Mavericks||yoconman||OS X Mavericks (10.9)||5||Nov 9, 2013 12:34 PM|
|iOS 7 Memory Leaks||DavidBlack||iOS 7||10||Sep 29, 2013 02:48 PM|
|iMessages & Memory Leaks||jwm2||Mac Applications and Mac App Store||1||Feb 28, 2013 11:16 PM|
|Are they ever going to fix the safari memory leaks?||can.rules||Mac Applications and Mac App Store||8||Nov 3, 2012 06:34 PM|
|Huge memory leaks in Safari||Organichu||Mac Basics and Help||1||Jul 30, 2012 04:58 PM|
All times are GMT -5. The time now is 05:47 AM.