Where’s all my memory in SharePoint 2013 Preview?

Posted Tuesday, July 24, 2012 11:30 AM by CoreyRoth

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

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

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

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

# Business Critical SharePoint; Devs Lose Interest in Windows Phone; Is Office 2013 Ready for Government?

Thursday, July 26, 2012 7:47 AM by SharePoint Daily

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

# re: Where’s all my memory in SharePoint 2013 Preview?

Thursday, July 26, 2012 1:47 PM by Eric

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.

# re: Where’s all my memory in SharePoint 2013 Preview?

Thursday, October 4, 2012 8:30 AM by Praveen

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

# re: Where’s all my memory in SharePoint 2013 Preview?

Saturday, October 13, 2012 4:44 AM by Praveen

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

# SP2013 memory usage noderunner process

Wednesday, March 19, 2014 7:45 AM by SP2013 memory usage noderunner process

Pingback from  SP2013 memory usage noderunner process

# Business Critical SharePoint; Devs Lose Interest in Windows Phone; Is Office 2013 Ready for Government? – Bamboo Solutions

Pingback from  Business Critical SharePoint; Devs Lose Interest in Windows Phone; Is Office 2013 Ready for Government? – Bamboo Solutions

Leave a Comment

(required)
(required)
(optional)
(required)