Click here to Skip to main content
16,005,209 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: 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 
No, actually it does not. A crashing game may not be a matter of life and death, but an angry gamer also is a dissatisfied customer.

A user interface should always show exactly, what the user's options are at this moment. Also, it should tell the user why an option is not available at the moment. I simply don't let the user do memory intensive stuff and simply wait for the exception to happen. Predicting trouble and telling the user what he can do about it leaves an entirely different impression.

Then there are sequences of operations which may become very complicated to undo if any serious error occurs somewhere in the middle. Checking the most probable causes of errors in advance, including memory limitations, may help by not letting the error occur in the first place.

A while ago he asked me what he should have printed on my business cards. I said 'Wizard'.

I read books which nobody else understand. Then I do something which nobody understands. After that the computer does something which nobody understands. When asked, I say things about the results which nobody understand. But everybody expects miracles from me on a regular basis. Looks to me like the classical definition of a wizard.

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

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.