J
James Wansley
I am currently running a c# service that dynamically loads assemblies
using System.Reflection.Assembly.LoadFrom("aDll.dll"). These
assemblies are stored in an arraylist after they are loaded.
I would like to periodically report the memory usage of each assembly
within the arraylist. I tried
System.Diagnostics.ProcessModule.ModuleMemorySize, but this only shows
the size of the structures within the .dll, not the current memory
usage. Does anyone know of a method to determine the memory usage of
a loaded assembly?
Thanks in advance
-James Wansley
using System.Reflection.Assembly.LoadFrom("aDll.dll"). These
assemblies are stored in an arraylist after they are loaded.
I would like to periodically report the memory usage of each assembly
within the arraylist. I tried
System.Diagnostics.ProcessModule.ModuleMemorySize, but this only shows
the size of the structures within the .dll, not the current memory
usage. Does anyone know of a method to determine the memory usage of
a loaded assembly?
Thanks in advance
-James Wansley