Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Collections hanging around?

Status
Not open for further replies.

clegg

Programmer
Jan 25, 2001
98
GB
I've got a program that makes extensive use of quite a few collections. When the form closes and goes back to the main form that called it, it's as though the program seems to hang for a period of time that has a relationship with the number of items that are in the collection (therefore it takes longer to close the more items that there are in the collection).

I've made sure that i've set all the collections to nothing before the form closes but it still happens.

I've debugged it and once the form unloads it's not going back to it, it's as though windows is having to clear the memory.

Anyone got any clues or ideas?

Thanks
Clegg
 
This thread thread222-1382202 also references two other threads. I'd recommend you look over all three. You may find that Dictionaries outperform Collections in your situation.


Bob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top