I've put up a small collection of classes that may be
helpful in tracking down memory leaks, at least for
RB2005 users. Just drag the LeakCheckClasses folder
into your project, add a call to LeakCheckWindow.Show
at some appropriate point, and you get a floating
window that displays a tabbed view of summary totals
and detailed listings for all the objects currently in
RAM, plus a display of how much memory your app is
currently using. There's a continuous update mode
with a variable refresh rate, as well as an instant
"update now" button. Objects are displayed by ID,
class name, age, ref count, and "activity" (i.e. time
since ref count last changed). Summaries display
class name, number of objects, oldest object, and
average age.
Full source code is included, 100% RB (no plugins
needed), freeware.
http://www.bucktailsoftware.com/developer.shtml
(bottom of the page)
Comments and suggestions welcome.
Mark Nutter
Quick and easy regex creation and debugging!
http://www.bucktailsoftware.com/products/regexplorer/
__________________________________
Yahoo! Music Unlimited
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|