500pts: CPU Utilization is really high in my app
Posted on 2006-10-30
I wonder if anyone can help, I am having some major issues with CPU utilization...
I have an app and basically it creates 24 reference types (objects) and stores them in a hashtable... at this point utiilization is pratically 0
The next day I clear out the hashtable which I presume will destroy the references as when i added them they they were local reference variables to a class. I use the method .Clear and then i recreate local variables of the 24 reference types (classes) and readd them to the Existing hashtable which of course is empty now...
At some point during this period .. the utilization creeps up to above 25%,,.,.
Should I be doing .dispose or somehting??
I really hope somebody can help, i am totally lost as to why it would be happening...
Thanks in advance