Memory errors

Started by
10 comments, last by OleKaiwalker 20 years ago
To petewood...

Maybe when the memory exceeded its boundaries it shouldn''t close the application... But when it failed to allocate memory, what would you do then?
Advertisement
however you handle it is up to you...if it failed to allocate memory it is most likely that you went out of the bounds of previously allocated memory...this needs to be fixed...if it''s more helpful to you to exit when you go out of bounds, then exit, or you could log it to a debug file to examine when your program crashes.

This topic is closed to new replies.

Advertisement