Click here to Skip to main content
15,921,156 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



 
GeneralIt depends... Pin
Rob Grainger29-Sep-08 22:46
Rob Grainger29-Sep-08 22:46 
GeneralIt depends... Pin
jdryk.x1-Oct-08 4:40
jdryk.x1-Oct-08 4:40 
GeneralRelated ... Pin
Vasudevan Deepak Kumar29-Sep-08 9:01
Vasudevan Deepak Kumar29-Sep-08 9:01 
GeneralDepends on the application. [modified] Pin
John M. Drescher29-Sep-08 7:47
John M. Drescher29-Sep-08 7:47 
Generalwhat can you do anyway? Pin
patbob29-Sep-08 5:29
patbob29-Sep-08 5:29 
JokeRe: what can you do anyway? Pin
Grimolfr30-Sep-08 6:43
Grimolfr30-Sep-08 6:43 
GeneralOnly when appropriate Pin
Ravi Bhavnani29-Sep-08 2:52
professionalRavi Bhavnani29-Sep-08 2:52 
GeneralMore Sensible Response Pin
W Balboos, GHB29-Sep-08 2:37
W Balboos, GHB29-Sep-08 2:37 
It is rather unlikely that one could consume all the memory in a modern PC with anything but a gross programming error* (or a user who's too cheap to upgrade their 128 Kb system).

HOWEVER:

One should check for memory leaks - if not for protection of the system's integrity (including silly stuff like other applications that may be running and want some memory know and then), then for old time's sake.






(VB Programmers need not apply)







* E.g.: MicroSoft Windows Vista

"The difference between genius and stupidity is that genius has its limits." - Albert Einstein

"How do you find out if you're unwanted if everyone you try to ask tells you to go away?" - Balboos HaGadol



GeneralRe: More Sensible Response Pin
13xforever29-Sep-08 21:59
13xforever29-Sep-08 21:59 
GeneralRe: More Sensible Response Pin
W Balboos, GHB2-Oct-08 2:54
W Balboos, GHB2-Oct-08 2:54 
GeneralRe: More Sensible Response Pin
Paul Glaubitz30-Sep-08 9:20
Paul Glaubitz30-Sep-08 9:20 
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 
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 

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.