My program eventually consumes all ram and crashes… looking through the code, I can’t find anything that stands out that would do this.
My program eventually consumes all ram and crashes… looking through the code, I can’t
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Could you modify the code to use the debug version of
mallocandfree? If yes, check _malloc_dbg and _free_dbg.(You could write own
newanddeleteoperators based on these functions.)As I remember VS 6.0 has no
_realloc_dbg.