Click here to Skip to main content
15,921,210 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: More Sensible Response Pin
W Balboos, GHB2-Oct-08 3:04
W Balboos, GHB2-Oct-08 3:04 
AnswerRe: More Sensible Response Pin
Paul Glaubitz2-Oct-08 3:27
Paul Glaubitz2-Oct-08 3:27 
GeneralMissing response Pin
Gary Wheeler29-Sep-08 0:14
Gary Wheeler29-Sep-08 0:14 
GeneralRe: Missing response Pin
Ravi Bhavnani29-Sep-08 2:46
professionalRavi Bhavnani29-Sep-08 2:46 
GeneralRe: Missing response Pin
Vasudevan Deepak Kumar29-Sep-08 9:10
Vasudevan Deepak Kumar29-Sep-08 9:10 
GeneralRe: Missing response Pin
Ravi Bhavnani29-Sep-08 9:13
professionalRavi Bhavnani29-Sep-08 9:13 
GeneralRe: Missing response Pin
Vasudevan Deepak Kumar29-Sep-08 9:23
Vasudevan Deepak Kumar29-Sep-08 9:23 
Generalnew throws exception Pin
ed welch28-Sep-08 22:01
ed welch28-Sep-08 22:01 
By default, new throws an exception, so just put a try catch in the main function if you want to handle out of memory.
That is assuming you're doing embedded development.
Doing out of memory checking is fairly pointless for desktop apps, because of virtual memory.
GeneralRe: new throws exception Pin
andy_p28-Sep-08 23:37
andy_p28-Sep-08 23:37 
GeneralRe: new throws exception Pin
Peter Rock29-Sep-08 2:01
Peter Rock29-Sep-08 2:01 
GeneralRe: new throws exception Pin
ed welch29-Sep-08 3:52
ed welch29-Sep-08 3:52 
GeneralRe: new throws exception Pin
allsiante1-Oct-08 23:23
allsiante1-Oct-08 23:23 
GeneralRe: new throws exception Pin
ed welch2-Oct-08 6:22
ed welch2-Oct-08 6:22 
GeneralIt is easy to run out of memory Pin
Vladimir D28-Sep-08 21:51
Vladimir D28-Sep-08 21:51 
GeneralRe: It is easy to run out of memory Pin
CDP180228-Sep-08 23:32
CDP180228-Sep-08 23:32 
GeneralRe: It is easy to run out of memory Pin
Vladimir D28-Sep-08 23:51
Vladimir D28-Sep-08 23:51 
General... depends what you program ! Pin
Gilliard28-Sep-08 19:45
Gilliard28-Sep-08 19:45 
GeneralRe: ... depends what you program ! Pin
CDP180228-Sep-08 23:19
CDP180228-Sep-08 23:19 
GeneralI design all my programs to run in... Pin
Steve Echols28-Sep-08 19:29
Steve Echols28-Sep-08 19:29 
GeneralRe: I design all my programs to run in... Pin
Palavos28-Sep-08 21:28
Palavos28-Sep-08 21:28 
GeneralRe: I design all my programs to run in... Pin
Jörgen Sigvardsson29-Sep-08 22:52
Jörgen Sigvardsson29-Sep-08 22:52 
GeneralThe OS should handle it Pin
chaiguy133728-Sep-08 18:30
chaiguy133728-Sep-08 18:30 
General[Message Deleted] Pin
Cristian Amarie28-Sep-08 18:55
Cristian Amarie28-Sep-08 18:55 
GeneralRe: The OS should handle it Pin
chaiguy133728-Sep-08 19:02
chaiguy133728-Sep-08 19:02 
General[Message Deleted] Pin
Cristian Amarie28-Sep-08 22:31
Cristian Amarie28-Sep-08 22:31 

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.