in

Dot Net Mafia

Group site for developer blogs dealing with (usually) .NET, SharePoint 2013, SharePoint 2010, Office 365, SharePoint Online, and other Microsoft products, as well as some discussion of general programming related concepts.

This Blog

Syndication

Archives

Corey Roth [MVP]

A SharePoint MVP bringing you the latest time saving tips for SharePoint 2013, SharePoint 2010, Office 365, SharePoint Online, MOSS 2007, ASP.NET, LINQ, and Visual Studio 2012.

Where’s all my memory in SharePoint 2013 Preview?

If you have installed SharePoint 2013 Preview, you might have noticed that pretty much every bit of available memory is being consumed.  Where is it all going?  Search of course.  In my post from last week, I mentioned noderunner.exe.  These are the processes that hosts the individual search components and they consume a lot of memory.  You’ll have five of them running at any given time.  If one is consuming a lot of memory or CPU time, you can kill it but SharePoint will restart the process automatically.

TaskManagerNodeRunner

If you happen to be curious as to which noderunner.exe is running which component, the information below will help you.  Noderunner.exe is responsible for running the following components:

  • Administration
  • Index
  • Query
  • Analytics
  • Content Processing

Unfortunately Task Manager, doesn’t tell us which noderunner.exe belongs to which component.  To find that out, you need to download Process Monitor from sysinternals.  After you download the program start it up, and then open the Process Tree by clicking on Tools –> Process Tree.  Then look for hostcontrollerservice.exe under wininit.exe –> services.exe.  Under this node you will find all five noderunner.exe proceses.  When you click on one, you can actually get more details on the process including the command line that was used to launch the process.  This command line actually gives us insight into the search component the noderunner is hosting.

ProcessMonitorNodeRunner

In the –noderoot parameter, you will see a path and at the end of the path you will see one of the following (or similar): AdminComponent1, IndexComponent1, QueryProcessingComponent1, AnalyticsProcessingComponent1, or ContentProcessingComponent1.  You can probably see how they match up to the components mentioned earlier.  The path listed here is also the location of the individual component logs of search which may be useful when troubleshooting things in the future. 

This may be more information that you have ever cared to know about search.  I like to know how things work under the hood though so I thought I would share the info. 

Comments

 

Where’s all my memory in SharePoint 2013 Preview? - Corey Roth [MVP] | SharePoint 2013 | Scoop.it said:

Pingback from  Where’s all my memory in SharePoint 2013 Preview? - Corey Roth [MVP] | SharePoint 2013 | Scoop.it

July 24, 2012 4:22 PM
 

SharePoint Daily » Blog Archive » Business Critical SharePoint; Devs Lose Interest in Windows Phone; Is Office 2013 Ready for Government? said:

Pingback from  SharePoint Daily  » Blog Archive   » Business Critical SharePoint; Devs Lose Interest in Windows Phone; Is Office 2013 Ready for Government?

July 26, 2012 7:37 AM
 

SharePoint Daily said:

Sorry about the unexpected two day break. Lots of future strategy planning managed to take over my schedule

July 26, 2012 7:47 AM
 

Eric said:

FYI - You don't need Process Monitor for this.  Task manager can show you the command line and its arguments for a given running process.  Just go to "View" then "Select Columns" and check the box for "Command Line".  This will show you the same info that Process Monitor is showing.

July 26, 2012 1:47 PM
 

Praveen said:

Hello, Yes it is a bug in preview version and we can fix it by doing minor tweaks as described in one of my article here:

praveenbattula.blogspot.in/.../memory-leaks-in-sharepoint-2013.html

October 4, 2012 8:30 AM
 

Praveen said:

We can restrict the noderunner to not use the memory more than certain amount through settings. But I believe we should not restrict this. I had many issues which are coming due to this. More details are here:

praveenbattula.blogspot.de/.../memory-leaks-in-sharepoint-2013.html

October 13, 2012 4:44 AM

Leave a Comment

(required)  
(optional)
(required)  
Add

About CoreyRoth

Corey Roth is an Applications Architect at Infusion specializing in ECM and Search.
2012 dotnetmafia.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems