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



 
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 
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 
And, to add more to your answer - other responses from the (more common?) game programmers pointed out the need of a lot of video ram - a venue to which I've never ventured. I'll omit questionably relevant ancecdotes.

I do have one question: if you require such a large block of contigious memory - do you find yourself in trouble often with that application? Once upon a time, in my Fortran/Scientific programming days, when one allocated a data array, it was allocated in the executable image (not dynamically at run-time). Wasteful, for sure, but if the memory wasn't there, the application wouldn't load.

"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



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

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.