|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Traversing the objects in Memory HeapI want a way to traverse the objects in Memory Heap in my .NET application.
I used System.GC class but it could only provide me with the function that returns the memory allocated, but couldn't provide me with the list of all the alive objects. Thanks I am afraid that is not possible from your managed code as such. You could
however run any profiler to monitor the heap.. Show quote "Amanpreet" <Amanpr***@discussions.microsoft.com> wrote in message news:E59E4EBF-E1B9-4F66-A14D-AFE58D70B267@microsoft.com... > I want a way to traverse the objects in Memory Heap in my .NET application. > > I used System.GC class but it could only provide me with the function that > returns the memory allocated, but couldn't provide me with the list of all > the alive objects. > > Thanks Thanks Manoj, if not from the managed code can this be done from a C program.
And if yes, could you please help me find information on the topic. Show quote "Manoj G [MVP]" wrote: > I am afraid that is not possible from your managed code as such. You could > however run any profiler to monitor the heap.. > > -- > HTH, > Manoj G > [MVP , Visual Developer - Visual Basic ] > http://msmvps.com/manoj/ > > "Amanpreet" <Amanpr***@discussions.microsoft.com> wrote in message > news:E59E4EBF-E1B9-4F66-A14D-AFE58D70B267@microsoft.com... > > I want a way to traverse the objects in Memory Heap in my .NET > application. > > > > I used System.GC class but it could only provide me with the function that > > returns the memory allocated, but couldn't provide me with the list of all > > the alive objects. > > > > Thanks > > >
Other interesting topics
|
|||||||||||||||||||||||