Page 1 of 1

What does <Module> mean in the Root path?

Posted: Thu Apr 28, 2011 9:41 am
by edwinvandeburgt

What does <Module> mean in the Root path?

I'm researching a possible memory leak in a (old version of a) 3rd party component (DevArt Linq-to-Oracle) where some database-objects of type 'Telling' remain in memory. These seems to be 'rooted' in <Module>. What does this mean? How can I get rid of these objects?

Please see the attached example.
module.gif (5.84 KiB) Viewed 16808 times
I tried to find information in the docs, but couldn't find the meaning of <Module>...

Kind regards,


Re: What does <Module> mean in the Root path?

Posted: Thu Apr 28, 2011 9:24 pm
by Andreas Suurkuusk
"<Module>" in the root path is the name of a class. This class is probably created by the compiler to store global module data. The _GUID... field references a List of type List<Telling>. I recommend that you investigate the details of one of the instances that are held by the root path, and then continue the investigation by looking at the details of the Telling[] array. The allocation call stack of this array will hopefully give you information about how the list is used and how the instances are added to the list.