Click here to Skip to main content
16,018,057 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalexception handling, function call and memory Pin
George_George29-Jan-08 20:33
George_George29-Jan-08 20:33 
GeneralRe: exception handling, function call and memory Pin
CPallini29-Jan-08 21:21
mveCPallini29-Jan-08 21:21 
GeneralRe: exception handling, function call and memory Pin
Maxwell Chen29-Jan-08 21:25
Maxwell Chen29-Jan-08 21:25 
QuestionRe: exception handling, function call and memory Pin
CPallini29-Jan-08 21:27
mveCPallini29-Jan-08 21:27 
GeneralRe: exception handling, function call and memory Pin
Maxwell Chen29-Jan-08 21:29
Maxwell Chen29-Jan-08 21:29 
GeneralRe: exception handling, function call and memory Pin
George_George29-Jan-08 21:49
George_George29-Jan-08 21:49 
GeneralRe: exception handling, function call and memory Pin
CPallini29-Jan-08 22:04
mveCPallini29-Jan-08 22:04 
GeneralRe: exception handling, function call and memory Pin
George_George29-Jan-08 23:30
George_George29-Jan-08 23:30 
Thanks CPallini,


Let me make my question more clear. In the sample code I posted in my original question, Bjarne is used to show whether function call or exception handling mechanism will run out of memory at first.

It is clear as we have discussed function call will continue to consume stack -- to make memory out of run.

Now I am unclear about what is the memory consumed by exception handling mechanism as Bjarne mentioned, since all I can see the memory consumed is caused by function call (recursive), but not by exception handling mechanism itself.

Any ideas about memory consumed by exception handling mechanism itself?


regards,
George
Generalstruct and union difference Pin
gentleguy29-Jan-08 20:04
gentleguy29-Jan-08 20:04 
GeneralRe: struct and union difference Pin
Maxwell Chen29-Jan-08 20:19
Maxwell Chen29-Jan-08 20:19 
GeneralRe: struct and union difference Pin
Rajesh R Subramanian29-Jan-08 20:33
professionalRajesh R Subramanian29-Jan-08 20:33 
JokeThank you very mutch, man Pin
CPallini29-Jan-08 21:16
mveCPallini29-Jan-08 21:16 
JokeRe: Thank you very mutch, man Pin
Cedric Moonen29-Jan-08 21:19
Cedric Moonen29-Jan-08 21:19 
JokeRe: Thank you very mutch, man Pin
Rajesh R Subramanian29-Jan-08 22:20
professionalRajesh R Subramanian29-Jan-08 22:20 
GeneralNeed Help on c and c++ merging Pin
manish.patel29-Jan-08 19:49
manish.patel29-Jan-08 19:49 
QuestionRe: Need Help on c and c++ merging Pin
Maxwell Chen29-Jan-08 20:04
Maxwell Chen29-Jan-08 20:04 
GeneralRe: Need Help on c and c++ merging Pin
manish.patel29-Jan-08 20:06
manish.patel29-Jan-08 20:06 
GeneralRe: Need Help on c and c++ merging Pin
Maxwell Chen29-Jan-08 20:18
Maxwell Chen29-Jan-08 20:18 
GeneralCTreeCtrl TV_ITEM labels - trasparent help needed plz Pin
sarat29-Jan-08 18:47
sarat29-Jan-08 18:47 
GeneralRe: CTreeCtrl TV_ITEM labels - trasparent help needed plz Pin
Iain Clarke, Warrior Programmer29-Jan-08 23:58
Iain Clarke, Warrior Programmer29-Jan-08 23:58 
GeneralRe: CTreeCtrl TV_ITEM labels - trasparent help needed plz Pin
sarat30-Jan-08 3:45
sarat30-Jan-08 3:45 
GeneralRe: CTreeCtrl TV_ITEM labels - trasparent help needed plz Pin
Iain Clarke, Warrior Programmer30-Jan-08 4:11
Iain Clarke, Warrior Programmer30-Jan-08 4:11 
GeneralRe: CTreeCtrl TV_ITEM labels - trasparent help needed plz Pin
sarat30-Jan-08 4:34
sarat30-Jan-08 4:34 
GeneralRe: CTreeCtrl TV_ITEM labels - trasparent help needed plz Pin
Iain Clarke, Warrior Programmer30-Jan-08 4:39
Iain Clarke, Warrior Programmer30-Jan-08 4:39 
GeneralRe: CTreeCtrl TV_ITEM labels - trasparent help needed plz Pin
sarat30-Jan-08 4:47
sarat30-Jan-08 4:47 

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.