0

Dear programming experts,

I have 2 questions to optimize ASP.net web applicatons design:

1) How much memory are used by loaded assemblies in a AppDomain of an Application Web? Can i measure it?

2) When application starts, all assemblies in bin folder are loaded, can i load them when are needed instead? Do you think if that idea improves the system operation?

Thanks in advance, Milton

  • Find a .NET profiler, read its manual, and then you can play with it and learn the memory usage in detail. Even Microsoft provides that in Visual Studio. Use any other tool is neither enough nor ituitive. – Lex Li Feb 06 '14 at 13:53

1 Answers1

0

You can use the process explorer to see the physical and the virtual memory that your pools use.

Now left the assemblies on the bin to be managed by the asp.net it self.


(source: microsoft.com)

To see programmatically the used memory: Determine memory used by asp.net cache in shared hosting

and a similar question: High memory usage with w3wp application pool IIS 7

Glorfindel
  • 21,988
  • 13
  • 81
  • 109
Aristos
  • 66,005
  • 16
  • 114
  • 150