Hi Guys,
I have quite a serious problem with DNN using excessive amounts of memory on one of my servers. Essentially with a fresh DNN 6 blank website install if I load it up in a browser and hit F5 or refresh a few times the memory increases by about 5-10K a pop. 25 refreshes = 474,004K. The memory doesn't seem to release for at least 30 minutes.
When I installed the exact same copy of DNN on my other server and repeat the same test with the same number of refreshes the memory increases slightly but then recycles. 25 refreshes = 140,000K
The same problem occurs on my development laptop. No other .net applications or IIS 7.5 websites that I run experience this problem or anything similar. I will try and out line the server set ups below.
I have spent a bit of time on google and as a short term stop gap I have set IIS to recycle when it hits 300K memory but this is NOT a solution, its a band aid. Two of the systems we are currently developing will have tens of thousands of hits per month and this is going to cause the server to crash.
The main difference I can see is that the windows 2003 Server uses an older version of IIS and that its 32 bit but due to the nature of what we are developing we cant just use windows server 2003.
Server That Works
Windows Server 2003 32 Bit - SQL express 2005 - .net 3.5 installed. 2gb Ram.
Image of taskmgr showing IIS memory usage after 25 refreshes
Server That Doesnt Work
Windows Server 2008 64 Bit - SQL 2008 For Workgroups - .net 3.5 installed. 4gb Ram.
Image of taskmgr showing IIS memory usage after 25 refreshes
Laptop That Doesnt Work
Windows 7 64 Bit - Sql 2008 enterprise - .net 4 installed (App pool running .net 2) 8gb ram