Click here to Skip to main content
15,867,282 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
I have noticed using the ProcXP (VMMap) that some ASP.NET applications (.NET 4)
load (or maps?) some assemblies twice or more.

I use VS 2010 (W7 x64), with the AnyCPU option and tested in 2008 R2 x64 server....the apps are both complied with release/debug options, the result it's the same.

This "problem" can be build with any "blank" (read default) ASP.NET application.

here some examples:

https://www.dropbox.com/s/68hxmgwca97x3x7/img.zip

The things I found:
* are relocated dlls (read rebasing)
* Image Type is 32 bit.
* this problem is visible only in x64 systems (not in x32 world).

Could anyone let me know or explain why the assembly are mapped twice (or more), there is a reason ???

PS

if you need, I can provide the blank/default application sample :).
Please, avoid alien polymorphic code or assembler language genetically modified..
Thx
Posted
Updated 27-Aug-14 7:56am
v4
Comments
Mehdi Gholam 27-Aug-14 14:01pm    
... and what problem are you having with this?
2006 Flauzer 27-Aug-14 14:19pm    
thanks for your interest
I have no "problem", just I wanted to know if there are some potential problem in memory.. thoughts about performance, simply why.
I've seen a small ASP.NET webapp, installed for different WebSite (W1..W4) in a single server: only ONE http request for the website W1 (after a clean restart)... well, the procexp shows 2 * 4 = 8 times the dlls in my topic. (English is not my native language,sorry)

It 'a normal thing for you?
Mehdi Gholam 27-Aug-14 15:55pm    
Only go after trying to fix things when they actually are a problem, don't optimize something that might not need it, run your system and see if it is slow first.
Mehdi Gholam 27-Aug-14 15:55pm    
Only go after trying to fix things when they actually are a problem, don't optimize something that might not need it, run your system and see if it is slow first.

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900