Click here to Skip to main content
16,017,015 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



 
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 
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 
Cristian Amarie wrote:
- declare your application at setup as "interactive" or "OS-interruptible" (sic!)) and "OS should handle extreme memory (rain, calamity, Somalian wars etc. - each with the appropriate flags, of course) conditions"
- then define what's a threshold for your application (a some kind of Darboux property as [minRAM, maxRAM])
- then define callbacks to be published and executed (NULL - OS handler, non-NULL, user handler)


You're using this as an argument that this shouldn't be handled by the OS?

Cristian Amarie wrote:
Do you really trust your data to be handled by a POORLY WRITTEN APPLICATION?


No, I trust that the OS will not be responsible for losing it on me.

P.S.
"Interruptible" is correct[^]

“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 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.