Click here to Skip to main content
15,880,796 members
Home / Discussions / C#
   

C#

 
GeneralRe: Memory leaks while calling functions from another assembly. Pin
Aseem Sharma8-Sep-10 2:48
Aseem Sharma8-Sep-10 2:48 
GeneralRe: Memory leaks while calling functions from another assembly. Pin
Luc Pattyn8-Sep-10 2:55
sitebuilderLuc Pattyn8-Sep-10 2:55 
GeneralRe: Memory leaks while calling functions from another assembly. Pin
Aseem Sharma8-Sep-10 3:41
Aseem Sharma8-Sep-10 3:41 
GeneralRe: Memory leaks while calling functions from another assembly. Pin
Pete O'Hanlon8-Sep-10 4:41
mvePete O'Hanlon8-Sep-10 4:41 
GeneralRe: Memory leaks while calling functions from another assembly. Pin
Luc Pattyn9-Sep-10 16:07
sitebuilderLuc Pattyn9-Sep-10 16:07 
AnswerRe: Memory leaks while calling functions from another assembly. Pin
David Knechtges8-Sep-10 3:42
David Knechtges8-Sep-10 3:42 
GeneralRe: Memory leaks while calling functions from another assembly. Pin
Aseem Sharma8-Sep-10 3:59
Aseem Sharma8-Sep-10 3:59 
AnswerRe: Memory leaks while calling functions from another assembly. Pin
Jason J. Chase12-Sep-10 20:31
Jason J. Chase12-Sep-10 20:31 
To be 100% sure what the problem is, crack out windbg with the SOS extension for .Net. You can use ADPlus to take a memory dump of the .Net process in question, and then load the dump file into windbg.

The SOS debugger extension is used for debugging .Net memory dumps. Using !dumpheap -stat will show you all instances of objects on the heap. Given an instance handle, using !gcroot <handle> will tell you which thread is keeping the instance alive. Using !clrstack for that thread will show you the stack for that thread, pin pointing the exact code.

These commands are only the tip of the iceberg though, check out Tess Fernandez's blog at http://blogs.msdn.com/b/tess/[^] for help on using windbg for memory leak debugging in .Net.
QuestionThread.Join() and GUI Pin
Keith Vitali8-Sep-10 0:39
Keith Vitali8-Sep-10 0:39 
AnswerRe: Thread.Join() and GUI Pin
Luc Pattyn8-Sep-10 0:59
sitebuilderLuc Pattyn8-Sep-10 0:59 
AnswerRe: Thread.Join() and GUI Pin
Kubajzz8-Sep-10 1:03
Kubajzz8-Sep-10 1:03 
AnswerRe: Thread.Join() and GUI Pin
Fayu8-Sep-10 4:09
Fayu8-Sep-10 4:09 
AnswerRe: Thread.Join() and GUI Pin
samuelms8-Sep-10 7:10
samuelms8-Sep-10 7:10 
Questionunable to create shortcut for the application on desktop using setup and deployment project Pin
NarVish7-Sep-10 22:28
NarVish7-Sep-10 22:28 
AnswerRe: unable to create shortcut for the application on desktop using setup and deployment project Pin
Richard MacCutchan8-Sep-10 3:07
mveRichard MacCutchan8-Sep-10 3:07 
QuestionAssigning ICON to new file type (*.dtl) Pin
himuskanhere7-Sep-10 20:06
himuskanhere7-Sep-10 20:06 
AnswerRe: Assigning ICON to new file type (*.dtl) Pin
Calla7-Sep-10 20:50
Calla7-Sep-10 20:50 
GeneralRe: Assigning ICON to new file type (*.dtl) Pin
himuskanhere7-Sep-10 22:45
himuskanhere7-Sep-10 22:45 
QuestionIntroduction to C# application with SQL db Pin
Chesnokov Yuriy7-Sep-10 19:10
professionalChesnokov Yuriy7-Sep-10 19:10 
QuestionAccessing CANdb Database file in C# Pin
Niungareamit7-Sep-10 18:46
Niungareamit7-Sep-10 18:46 
AnswerRe: Accessing CANdb Database file in C# Pin
SeMartens8-Sep-10 0:09
SeMartens8-Sep-10 0:09 
AnswerRe: Accessing CANdb Database file in C# Pin
Dave Kreskowiak8-Sep-10 3:56
mveDave Kreskowiak8-Sep-10 3:56 
QuestionCase for .net remoting Pin
faheemnadeem7-Sep-10 15:45
faheemnadeem7-Sep-10 15:45 
AnswerRe: Case for .net remoting Pin
brunoseixas9-Sep-10 9:40
brunoseixas9-Sep-10 9:40 
QuestionDoEvents() and System.Threading.Timer Pin
Keith Vitali7-Sep-10 13:16
Keith Vitali7-Sep-10 13:16 

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.