In a C# 2008 desktop application, I am finding that there are processes that are not released once when the application finishes executing. Every time this application runs, there are more processes that are not released. I want to mention this application was originally written as a console application, but was changed to a windows application since I did not want all the dos popup windows.
I do want to mention that in this application the following is not occuring:
1. When some of the objects are created, there is no dispose on the objects.
2. Some of the linq statements do not have a using clause on them.
What kind of code could be causing this problem?
Thus can you tell me, point me to a reference, and/or show me code on how to reolve this problem?
When looking on the internet, it looks like profiler is only in the premium and standard edition of .net. My company is using the professional version. Is there another tool that you are aware of that I could use?
Instead of down voting (I assume) and making snippy comments, I suggest you take a look at Eddie's Vulgen's response.
99% of the people who answer questions here are going to read you post and think "He just wants me to write his code for him" and won't help. Why? 1. You Describe you problem in broad brush "I wanna do something terms" 2. You ask for code 3. You don't say what you have tried and what happened.
From this standpoint it looks like you have done no work (you might have spent hours on it, we don't know) and the basics of this are easily googled.
This is a messageboard, and these questions are being answered by volunteers. Like you. It'd be inappropriate to ask them to do a complete project. If it's your task, then you'll be the one writing code - and we'll gladly help when you get stuck.
Bastard Programmer from Hell If you can't read my code, try converting it here[^]