Click here to Skip to main content
15,917,862 members
Home / Discussions / C#
   

C#

 
GeneralRe: DataGrid bounded to a DataTable with composite key. Pin
miah alom21-Aug-05 6:01
miah alom21-Aug-05 6:01 
QuestionAUTO UPDATE?? Pin
cyrus_thevirus19-Aug-05 5:27
cyrus_thevirus19-Aug-05 5:27 
AnswerRe: AUTO UPDATE?? Pin
Mohamad Al Husseiny19-Aug-05 6:19
Mohamad Al Husseiny19-Aug-05 6:19 
GeneralRe: AUTO UPDATE?? Pin
cyrus_thevirus19-Aug-05 6:41
cyrus_thevirus19-Aug-05 6:41 
GeneralRe: AUTO UPDATE?? Pin
ekynox19-Aug-05 17:01
ekynox19-Aug-05 17:01 
GeneralFile Copy from remote server Pin
NitinR19-Aug-05 5:19
NitinR19-Aug-05 5:19 
GeneralRe: File Copy from remote server Pin
| Muhammad Waqas Butt |19-Aug-05 5:40
professional| Muhammad Waqas Butt |19-Aug-05 5:40 
GeneralGarbage Collection Issue Pin
MarkMokris19-Aug-05 4:43
MarkMokris19-Aug-05 4:43 
I have a fairly robust Windows Forms application in which I allow the user to continously create and delete DataGrid objects. I have a number of references pointing to any one DataGrid object. Even after all references are nulled out to any one DataGrid object (and it is Removed from Forms.Controls), the memory used doesn't seem to be garbage collected. Even if I call GC.Collect.

I can see this because memory usage in the Windows task manager just grows and grows until the application slows to a halt. I even included a finalize method for the DataGrids, and it never gets called.

Obvious I still have some "dangling references" to the DataGrid objects I am creating.

My question...Is there any way to see (in the debugger?) a list of all the references still pointing to a single object?

Thanks!

Mark
GeneralRe: Garbage Collection Issue Pin
Dan Neely19-Aug-05 4:56
Dan Neely19-Aug-05 4:56 
GeneralRe: Garbage Collection Issue Pin
MarkMokris19-Aug-05 6:00
MarkMokris19-Aug-05 6:00 
GeneralRe: Garbage Collection Issue Pin
S. Senthil Kumar19-Aug-05 5:52
S. Senthil Kumar19-Aug-05 5:52 
GeneralRe: Garbage Collection Issue Pin
MarkMokris19-Aug-05 10:19
MarkMokris19-Aug-05 10:19 
Generalstupid question :$ Pin
f_n_d19-Aug-05 4:41
f_n_d19-Aug-05 4:41 
GeneralRe: stupid question :$ Pin
mmikey719-Aug-05 5:00
mmikey719-Aug-05 5:00 
GeneralRe: stupid question :$ Pin
f_n_d19-Aug-05 5:09
f_n_d19-Aug-05 5:09 
GeneralRe: stupid question :$ Pin
User 665819-Aug-05 7:23
User 665819-Aug-05 7:23 
GeneralScrolling a Text Box Pin
Buddha_Joe19-Aug-05 3:41
Buddha_Joe19-Aug-05 3:41 
GeneralRe: Scrolling a Text Box Pin
S. Senthil Kumar19-Aug-05 3:52
S. Senthil Kumar19-Aug-05 3:52 
GeneralRe: Scrolling a Text Box Pin
Buddha_Joe19-Aug-05 4:59
Buddha_Joe19-Aug-05 4:59 
GeneralRe: Scrolling a Text Box Pin
S. Senthil Kumar19-Aug-05 5:56
S. Senthil Kumar19-Aug-05 5:56 
GeneralRe: Scrolling a Text Box Pin
miah alom19-Aug-05 4:30
miah alom19-Aug-05 4:30 
GeneralAdding a TextBoxColumn to Grid need Help Pin
zaboboa19-Aug-05 3:28
zaboboa19-Aug-05 3:28 
GeneralRe: Adding a TextBoxColumn to Grid need Help Pin
miah alom19-Aug-05 4:19
miah alom19-Aug-05 4:19 
GeneralRe: Adding a TextBoxColumn to Grid need Help Pin
zaboboa19-Aug-05 5:42
zaboboa19-Aug-05 5:42 
GeneralRe: Adding a TextBoxColumn to Grid need Help Pin
miah alom19-Aug-05 5:50
miah alom19-Aug-05 5:50 

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.