Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Memory Footprint for DNN 6Memory Footprint for DNN 6
Previous
 
Next
New Post
7/21/2011 4:06 PM
 
I've just upgraded a test site from DNN 5.6.2 to 6.0 and although there were a couple of minor issues during upgrade the site is up and running fine.
The first thing I have noticed is the memory footprint in IIS7.5. The previous site was typically using about 100MB of memory in task manager, it is now running over 225MB with no users on the site.
Has anyone else noticed this? 
Why is it using so much memory?
 
New Post
7/21/2011 7:36 PM
 
I hope this isn't true, I already am having issues with my shared hosting running 10+ DNN sites. My provider whilst being great always comments on how much DNN resoruces take over wordpress, joomla etc...
 
New Post
7/22/2011 12:35 PM
 
One of our Sr. Engineer thinks this may happen temporarily due to shift from VB.Net to C#. Right after upgrade, App Pool may have both VB.Net and C# libraries loaded. If you recycle your AppPool, the libraries associated with VB.Net should all free up. Let us know.

Ash Prasad
Director of Engineering
DNN Corp.
 
New Post
7/22/2011 12:51 PM
 
I guess this was identified using perfmon - can you describe the parameters you used to verify the memory usage of a specific website application?

D.
 
New Post
7/22/2011 1:21 PM
 

Hello,
it was me who took a (quick) look at this. I'm not sure where you got your sizes from but often people quote figures shown in task manager, which can be a bit misleading - whilst tasks manager does show private working set, it doesnt break down what it consists of. Typically you can use process explorer to drill down, but in my case I started a new DotNetNuke 6 site and clicked through half a dozen pages whilst logged in as host.

At this point task manager showed ~ 151MB in used for the worker process. This of couse also has some app pool overhead (and the copy of the framework loaded to service it) which is quite a lot as I had a dedicated app poll - whereas if i had multiple sites that overhead is shared.

To validate the contents of the process I created a memory dump and loaded up WinDBG and added Psscor4 and examined the memory (!CLRUsage) and saw the following:
Number of GC Heaps: 2

Heap Size 0x3b3a010(62,103,568)

Heap Size 0x2fa13a8(49,943,464)

------------------------------

GC Heap Size 0x6adb3b8(112,047,032)

Total Commit Size 0000000006af7000 (106 MB)

Total Reserved Size 0000000099509000 (2453 MB)

As you can see the commit size is much smaller that the overall size (as the non .net memory such as the c++ for the app pool overhead is not inclded)– and looking at the heaps the 1st is probably dotnetnuke and the 2nd is the apppool and framework. Whilst the first one is higher than I'd like I dumped the cache, httpruntime and datatables and there wasn't anything I wouldnt expect. There are quite a lot of large strings and regular expression usage and this is definately something I'll want to examine at a later date to see if we can reduce this (or in the case of regular expressions use compiled ones to see if that saves memory), but overall I don't see anything to concern me here.

As Ash says, I'm speculating that the increase in usage was caused by the change in language, and the resulant change in compiler from vbc.exe to csc.exe and the fact that even through the c# compiler was used namespaces such as microsoft.visualbasic.compatibility and microsoft.visualbasic.compilerservices were still in the app pool as the only way to remove loaded objects is to recycle the application pool. If you recycle the application pool you should see the size drop down (as long as you dont have other sites that use vb.net)

Thanks,
Cathal

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Memory Footprint for DNN 6Memory Footprint for DNN 6


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out