Click here to Skip to main content
15,887,267 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how big array size does a visual c++ program allow ? Pin
mrby12324-Apr-06 10:11
mrby12324-Apr-06 10:11 
GeneralRe: how big array size does a visual c++ program allow ? Pin
David Crow24-Apr-06 10:19
David Crow24-Apr-06 10:19 
GeneralRe: how big array size does a visual c++ program allow ? Pin
Rilhas25-Apr-06 9:22
Rilhas25-Apr-06 9:22 
AnswerRe: how big array size does a visual c++ program allow ? Pin
Stephen Hewitt24-Apr-06 21:54
Stephen Hewitt24-Apr-06 21:54 
GeneralRe: how big array size does a visual c++ program allow ? Pin
mrby12325-Apr-06 16:03
mrby12325-Apr-06 16:03 
QuestionSuggestions for Memory Leak Tool Pin
Barry Etter24-Apr-06 7:10
Barry Etter24-Apr-06 7:10 
AnswerRe: Suggestions for Memory Leak Tool Pin
Maximilien24-Apr-06 7:49
Maximilien24-Apr-06 7:49 
AnswerRe: Suggestions for Memory Leak Tool Pin
Shog924-Apr-06 8:00
sitebuilderShog924-Apr-06 8:00 
Start with this:
http://www.codeproject.com/tools/leakfinder.asp[^]
Customize to fit your needs. As Max said, you'll want to cut down the scope to where it is manageable. A good way to do this is to identify operations that *shouldn't* leave memory allocated, and wrap them in checks. Starting with the larger operations and narrowing scope should let you zone in on the problem fairly quickly.

Oh, and i should also mention this tool:
http://www.softwareverify.com/memoryValidator/index.html[^]
I've found it to be a good deal faster than BoundsChecker, and it also has the ability to start and stop data collection, which can be quite nice when you want to ignore initial allocations.


Now taking suggestions for the next release of CPhog...

AnswerRe: Suggestions for Memory Leak Tool Pin
Joe Woodbury24-Apr-06 10:20
professionalJoe Woodbury24-Apr-06 10:20 
QuestionHow to get my IP ? Pin
Surivevoli24-Apr-06 7:02
Surivevoli24-Apr-06 7:02 
AnswerRe: How to get my IP ? Pin
Bob X24-Apr-06 7:11
Bob X24-Apr-06 7:11 
GeneralRe: How to get my IP ? Pin
Surivevoli24-Apr-06 8:13
Surivevoli24-Apr-06 8:13 
GeneralRe: How to get my IP ? Pin
Bob X24-Apr-06 10:24
Bob X24-Apr-06 10:24 
GeneralRe: How to get my IP ? Pin
Nibu babu thomas24-Apr-06 17:09
Nibu babu thomas24-Apr-06 17:09 
AnswerRe: How to get my IP ? Pin
David Crow24-Apr-06 7:36
David Crow24-Apr-06 7:36 
QuestionSelection of lengthy path in the open save dialog box, retunr truncated string Pin
Sandeep. Vaidya24-Apr-06 5:37
Sandeep. Vaidya24-Apr-06 5:37 
AnswerRe: Selection of lengthy path in the open save dialog box, retunr truncated string Pin
Nibu babu thomas24-Apr-06 17:17
Nibu babu thomas24-Apr-06 17:17 
GeneralRe: Selection of lengthy path in the open save dialog box, retunr truncated string Pin
Sandeep. Vaidya24-Apr-06 20:25
Sandeep. Vaidya24-Apr-06 20:25 
GeneralRe: Selection of lengthy path in the open save dialog box, retunr truncated string Pin
Sandeep. Vaidya25-Apr-06 0:06
Sandeep. Vaidya25-Apr-06 0:06 
GeneralRe: Selection of lengthy path in the open save dialog box, retunr truncated string Pin
Nibu babu thomas25-Apr-06 1:49
Nibu babu thomas25-Apr-06 1:49 
Questionoverride operator + Pin
ehh24-Apr-06 5:06
ehh24-Apr-06 5:06 
AnswerRe: override operator + Pin
Chris Losinger24-Apr-06 5:16
professionalChris Losinger24-Apr-06 5:16 
GeneralRe: override operator + Pin
ehh24-Apr-06 7:55
ehh24-Apr-06 7:55 
Questionneed help - certificates Pin
Machma24-Apr-06 5:05
Machma24-Apr-06 5:05 
QuestionMulticast Pin
Smith#24-Apr-06 4:48
Smith#24-Apr-06 4:48 

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.