Hashtable memory usage

R

redrag

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
 
R

Rowan R. Jugernauth

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-803a7b485b82/clr profiler.exe

-Rowy
 
R

redrag

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

Thanks for your Help Rowy. I'll give it a try. Thanks again.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top