Re: Memory Leaks [message #16831] |
Tue, 24 August 1999 00:00 |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
David (pharoh@ihug.com.au) writes:
> I'm new to IDL and have just started going through the IDL Programming
> Techniques book (David W. Fanning).
Oh, good on ya, mate!
> In unix you are able to use bcheck to check for memory leaks. I was
> wondering is there a program
> that has similar abilities as bcheck but for windows, that can check for
> memory leaks in IDL.
I'm not really familiar with bcheck, but I do know
searching for memory leakage in IDL can be a bit of
a trick. Most of the time we resort to judiciously
placed HELP calls with the MEMORY and/or HEAP
keywords set.
Although I've always found the most effective way
of finding not only memory leakage errors, but *any*
programming errors, is to publish your program on
your web page. You will get a full report in about
3 seconds and you won't even have to go cross-eyed
looking through all your code. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|