You could use the windows Performance Monitor and/or the PerformanceCounter
class to keep track of such memory issues.
Here's more info:
[url] tep.asp[/url]

I hope this helps,
Steve C. Orr, MCSD

"BH" <bobatkpmg> wrote in message
> I'd like to compare the memory consumption of the instances of two
> classes. It's not part of the application, but I'd like to find out so I
> can make a better decision on which one to use, e.g. between a DataTable
> an XmlDoent, when either one works. Does VS.NET or the Framework
> a way to check at runtime?
> Thanks a lot