Click here to Skip to main content
15,902,198 members
Home / Discussions / C#
   

C#

 
AnswerRe: Releasing Memory Pin
Guffa28-Sep-05 5:22
Guffa28-Sep-05 5:22 
GeneralRe: Releasing Memory Pin
dbetting28-Sep-05 6:24
dbetting28-Sep-05 6:24 
GeneralRe: Releasing Memory Pin
Guffa28-Sep-05 9:03
Guffa28-Sep-05 9:03 
GeneralRe: Releasing Memory Pin
Dave Kreskowiak28-Sep-05 9:36
mveDave Kreskowiak28-Sep-05 9:36 
GeneralRe: Releasing Memory Pin
dbetting28-Sep-05 11:04
dbetting28-Sep-05 11:04 
GeneralRe: Releasing Memory Pin
Dave Kreskowiak28-Sep-05 11:16
mveDave Kreskowiak28-Sep-05 11:16 
GeneralRe: Releasing Memory Pin
dbetting28-Sep-05 12:13
dbetting28-Sep-05 12:13 
GeneralRe: Releasing Memory Pin
Dave Kreskowiak28-Sep-05 14:30
mveDave Kreskowiak28-Sep-05 14:30 
OK. First, setting something to null isn't necessary. Once the object can't be reached any more, the GC will get around to collecting it.

What do you have that's allocating that much stuff?!
The problem you're running into is that you have unmanaged (not under the .NET memory manager control) resources being consumed and not released by one, or more, of your components on that form. There's a component that isn't releasing unmanaged memory and/or other resources, such as handles.

Oh! Task Manager is probably the worst tool you could use to track the memory usage of a managed application. Use the Performance Monitor with the .NET Framework counters or something like the CLR Profiler[^].


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome


-- modified at 20:30 Wednesday 28th September, 2005
GeneralRe: Releasing Memory Pin
dbetting29-Sep-05 1:51
dbetting29-Sep-05 1:51 
GeneralRe: Releasing Memory Pin
Dave Kreskowiak29-Sep-05 11:59
mveDave Kreskowiak29-Sep-05 11:59 
GeneralRe: Releasing Memory Pin
Dan Neely29-Sep-05 2:10
Dan Neely29-Sep-05 2:10 
QuestionCopy a Row from one DataView to another? Pin
thomasa28-Sep-05 2:38
thomasa28-Sep-05 2:38 
AnswerRe: Copy a Row from one DataView to another? Pin
Wjousts28-Sep-05 9:24
Wjousts28-Sep-05 9:24 
QuestionObfuscator - Crytografy code Pin
horacyjr28-Sep-05 1:47
horacyjr28-Sep-05 1:47 
AnswerRe: Obfuscator - Crytografy code Pin
Colin Angus Mackay28-Sep-05 2:33
Colin Angus Mackay28-Sep-05 2:33 
GeneralRe: Obfuscator - Crytografy code Pin
horacyjr28-Sep-05 3:27
horacyjr28-Sep-05 3:27 
QuestionModify app.config Pin
Talktorajeev28-Sep-05 1:47
Talktorajeev28-Sep-05 1:47 
QuestionHelp needed with cookies and WebRequest Pin
nzmike28-Sep-05 1:13
nzmike28-Sep-05 1:13 
AnswerRe: Help needed with cookies and WebRequest Pin
Guffa28-Sep-05 2:18
Guffa28-Sep-05 2:18 
GeneralRe: Help needed with cookies and WebRequest Pin
nzmike28-Sep-05 17:15
nzmike28-Sep-05 17:15 
GeneralRe: Help needed with cookies and WebRequest Pin
Guffa29-Sep-05 22:06
Guffa29-Sep-05 22:06 
QuestionRemoving PropertyGrid border Pin
Rob Cooper28-Sep-05 0:35
Rob Cooper28-Sep-05 0:35 
QuestionNightmare!!! Pin
sean_mufc28-Sep-05 0:12
sean_mufc28-Sep-05 0:12 
AnswerRe: Nightmare!!! Pin
Russell Jones28-Sep-05 4:19
Russell Jones28-Sep-05 4:19 
AnswerRe: Nightmare!!! Pin
Russell Jones28-Sep-05 4:20
Russell Jones28-Sep-05 4:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.