如果IIS应用程序池用的是64位,建议改为32位试试
谢谢老大。
改为32位内存占用很少了,但是站点访问不了。还没具体分析,再测试看看。
这样设置好像解决了问题,内存不再暴涨了。。。
但是感觉怪怪的。
感觉第一个回答,是正解。但是还没试。等试完再结贴。
What to do when your IIS Worker Process (w3wp.exe) memory usage show high on your windows server 2012 in task manager.
Here is how I could nip it, it might help someone.
-Launch Server Manager.
-Select App Server.
-Select Add Roles & Features from drop down of Tasks on right top corner.
-Select Role based or featured based Installation.
-Select your server from Server Pool if there are more than one listed.
-Browse Web Server (IIS) > Web Server > Application Developement.
-Ensure that checkbox infront of ASP is checked and continue with Install, finish.
Now Click to select IIS from left pane
-From right top corner select Internet Information Services (IIS) Manager from drop down menu of Tools.
-Click on your server name to select it from IIS Manager window.
-From right side pane double click ASP.
-Click Caching properties under Services.
-Select maximum memory caching file and change its value to 5 from 500.
-click apply on right top corner.
-Restart IIS.
This should get your server rid of IIS worker process high memory utilisation. The caching now will occupy space on disk rather in memory. The caching size will be way smaller than it was previously.
Hope this will help, do let us know by leaving your feedback.
来自链接:http://forum.gotzu.com/showthread.php?tid=151
谢谢回答,我试一下看看。
这个似乎是正解,但是还没测试。等测试完了,再来结贴。
@勇仔: Good luck.
@幻天芒: 无效。dudu的方法有效
@勇仔: 又学到了,哈哈。你们版本玩得高啊。。。
设置应用程序池的回收时间, 再设置内存占用超过多少,就自动回收内存。
可以借助一些工具如JetBrains dotMenory等分析下, 耗的有木有问题。
另外, 你的这个站和其它的应用程序池是分开的吗? 如果不是, 请分开!
应用程序回收会重开一个进程,没办法的办法已经这样处理了,治标不治本。CLR的垃圾回收不执行感觉怪怪的。
应用程序池是分开的。
还没分析内存。谢谢你提供的工具信息。