|
ms
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Hashtable memory usageHi all,
Apologies if a similar question has been asked. I'm trying to find out how much memory a hashtable is using at a particular time in my application. I am using the hashtable for caching and I have two ways of caching, I need to find out which way is using less memory. Any help greatly appreciated. Thanks On Dec 19, 3:43 pm, redrag <Gerard.Cly***@gmail.com> wrote:
> Hi all, Hello there Gerard,> > Apologies if a similar question has been asked. > I'm trying to find out how much memory a hashtable is using at a > particular time in my application. > I am using the hashtable for caching and I have two ways of caching, I > need to find out which way is using less memory. Any help greatly > appreciated. > > Thanks I ran into a similar situation (and it involved hashtables as well) - and the best solution to this problem is to download and use a CLR profiler. I'm no big expert myself, but the tool was a total breeze, and it helped me decide which path to choose when it came to data structures. Here is a link about the CLR profiler that will help you out: http://msdn.microsoft.com/en-us/library/ms979205.aspx The link to download the CLR profiler is here: http://download.microsoft.com/download/4/4/2/442d67c7-a1c1-4884-9715-803a7b485b82/clr%20profiler.exe -Rowy
Show quote
Hide quote
On Dec 19, 12:51 pm, "Rowan R. Jugernauth" <Rowan.Ri***@gmail.com> Thanks for your Help Rowy. I'll give it a try. Thanks again.wrote: > On Dec 19, 3:43 pm, redrag <Gerard.Cly***@gmail.com> wrote: > > > Hi all, > > > Apologies if a similar question has been asked. > > I'm trying to find out how much memory a hashtable is using at a > > particular time in my application. > > I am using the hashtable for caching and I have two ways of caching, I > > need to find out which way is using less memory. Any help greatly > > appreciated. > > > Thanks > > Hello there Gerard, > > I ran into a similar situation (and it involved hashtables as well) - > and the best solution to this problem is to download and use a CLR > profiler. I'm no big expert myself, but the tool was a total breeze, > and it helped me decide which path to choose when it came to data > structures. > > Here is a link about the CLR profiler that will help you out:http://msdn.microsoft.com/en-us/library/ms979205.aspx > > The link to download the CLR profiler is here:http://download.microsoft.com/download/4/4/2/442d67c7-a1c1-4884-9715-... > > -Rowy |
|||||||||||||||||||||||