Click here to Skip to main content
16,017,069 members

Survey Results

When programming, do you explicitly test for out-of-memory conditions?   [Edit]

Survey period: 29 Sep 2008 to 6 Oct 2008

It's simple enough to do, but in this Gigabyte era, do you do it?

OptionVotes% 
Yes, always1167.71
Yes, mostly1036.85
Yes, sometimes26717.75
No87458.11
I don"t know how1449.57



 
General[Message Deleted] Pin
Cristian Amarie28-Sep-08 22:31
Cristian Amarie28-Sep-08 22:31 
GeneralRe: The OS should handle it Pin
chaiguy133729-Sep-08 3:48
chaiguy133729-Sep-08 3:48 
GeneralRe: The OS should handle it Pin
Mladen Janković29-Sep-08 13:03
Mladen Janković29-Sep-08 13:03 
GeneralRe: The OS should handle it Pin
chaiguy133729-Sep-08 13:04
chaiguy133729-Sep-08 13:04 
GeneralRe: The OS should handle it Pin
Eric Eggers29-Sep-08 5:15
Eric Eggers29-Sep-08 5:15 
GeneralRe: The OS should handle it Pin
chaiguy133729-Sep-08 13:05
chaiguy133729-Sep-08 13:05 
GeneralRe: The OS should handle it Pin
Vasudevan Deepak Kumar29-Sep-08 9:03
Vasudevan Deepak Kumar29-Sep-08 9:03 
GeneralRe: The OS should handle it Pin
chaiguy133729-Sep-08 9:24
chaiguy133729-Sep-08 9:24 
Exactly, but what I'm saying is that "kick" should basically pause the app and notify the user, giving them the option of killing it or allowing it to have more ram.

Just cause the app is poorly written doesn't meant there's not important information stored within it. I'm of the opinion the OS should never intentionally do anything that would lose a user's information when an alternative is available. Of course you could argue how "intentional" it is, since the system does give the app an out of memory exception. The problem is at that point the program is so unstable anyway (and that's IF the exception was handled) that it may as well be killing it.

Logan

“Time and space can be a bitch.”
–Gushie, Quantum Leap

{o,o}.oO(   Check out my blog!   )
|)””’)                piHole.org
-”-”-

General[Message Deleted] Pin
Cristian Amarie3-Oct-08 1:11
Cristian Amarie3-Oct-08 1:11 
GeneralRe: The OS should handle it Pin
chaiguy13373-Oct-08 3:10
chaiguy13373-Oct-08 3:10 
General[Message Deleted] Pin
Cristian Amarie3-Oct-08 5:08
Cristian Amarie3-Oct-08 5:08 
GeneralRe: The OS should handle it Pin
chaiguy13373-Oct-08 5:12
chaiguy13373-Oct-08 5:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.