question

SyedNazirul-6945 avatar image
0 Votes"
SyedNazirul-6945 asked Bruce-SqlWork answered

High memory usage mapped file Windows Server 2012

Greeting,

Currently I am running an IIS server to serve applications , but currently I am having some trouble with the memory usage.


123748-use-count.png


As you can see, Mapped File is using a lot of memory on standby, but I am not sure what application or process that causes this.
Here are some more pictures of detailed process that are currently running on my server

123823-processes.png
123749-file-summary.png
123739-mem-usage.png
123750-process-detail.png

Do you guys have any idea what could cause this high memory usage? I really appreciate any help.

Thank you

Syehino


windows-server-iis
use-count.png (29.3 KiB)
processes.png (38.3 KiB)
file-summary.png (45.7 KiB)
mem-usage.png (40.4 KiB)
process-detail.png (94.5 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

BruceZhang-MSFT avatar image
0 Votes"
BruceZhang-MSFT answered VivekNambiar-4596 published

Hi @SyedNazirul-6945 ,

You can read this docs to know file mapping. But I think it cannot provide any useful information about high memory.

I researched high memory of first w3wp.exe. A healthy IIS Server will consume approximately 300 - 600 MB, maybe 700 MB RAM when busy. The w3wp.exe's memory is 772MB. Though it is more than 700MB, it still looks normal.

Maybe you have a lot of concurrent web users. Maybe the resources loaded on the web console are intensive.......All these possibilities will cause IIS busy. You can set regular time interval of application pool to reduce memory.

Then I also researched shell32.dll, system.evtx and winscp.exe. Those of them have high standby and that is abnormal. But they are files refered by system, should not have high usage. If your server can be turn off or restart for a while, please restart it to check whether these file still have high usage.



If the answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our  documentation  to enable e-mail notifications if you want to receive the related email notification for this thread.

Best regards,
Bruce Zhang



· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you for taking your time to advise me. I'll try to restart the server during the weekend and report back the usage. For now I am suspecting that a scheduled executable program is causing this, but I still have not found any evidence yet.

Thank you,

Syed

0 Votes 0 ·

Hi @SyedNazirul-6945 ,

The Processes in Task Manager will show which program has high memory. Then check Details and Services to know which service of program.

0 Votes 0 ·

Was this fixed ? I am facing same issue now,

0 Votes 0 ·
Bruce-SqlWork avatar image
0 Votes"
Bruce-SqlWork answered

You misunderstand what mapped files are. They are an operating system feature where an application opens a file as mapped. Then instead of using file read/write, the file is mapped to memory like a page file, and the application uses memory access operations and is generally faster than using the file system.

The mapped file will have a working set of how many of its pages will be in real memory.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.