Fix: NodeRunner.exe processes consume lots of RAM (memory) and CPU

I started SharePoint 2013 development recently. Initially, I only got dual core CPU and 4 GB RAM and as you probably know, it runs very slow. I’m not curious about it cause I expect the performance when you install SharePoint 2013 with less than minimum recommended hardware specification.

Issue

Then .. I fed up with it and upgrade the RAM to 8 GB, but funny things my development box is still runs very slow. I looked into my task manager and found something like below. Several NodeRunner.exe processes consume lots of Memory and CPU.

TaskManagerNodeRunner

Solution

  1. Open SharePoint 2013 Management Shell and type in:
    Set-SPEnterpriseSearchService -PerformanceLevel Reduced
  2. Open NodeRunner process configuration file below in Notepad
    C:\Program Files\Microsoft Office Servers\15.0\Search\Runtime\1.0\noderunner.exe.config.
    Update <nodeRunnerSettings memoryLimitMegabytes=”0″ />.
    This is the configuration to limit NodeRunner process memory usage, replace 0 to acceptable number like 100 or 150.
  3. Restart SharePoint Search Host Controller service.
    TaskManagerNodeRunner2

 

NOTE: I’ve found out doing the step above will cause an issue (look my experience in provisioning search service application post) when you provision Search Service Application. Therefore, DO NOT DO IT to Production farm. Otherwise, if you have to limit the node runner process, limit it to 1024 MB.

 

Advertisements

Tagged: , , ,

3 thoughts on “Fix: NodeRunner.exe processes consume lots of RAM (memory) and CPU

  1. Ken Lulue 07/20/2013 at 5:07 AM Reply

    What other PerformanceLevel options are there?

    • tjenho 07/20/2013 at 5:14 AM Reply

      Hi Ken,
      There are “Reduced”, “Partly Reduced” and “Maximum” for PerformanceLevel options.
      Have a look here

      Cheers,
      Tjen

  2. […] Remember my earlier post to limit resources to noderunner.exe process, DON’T DO IT in production or if you want to make your Search Service Application […]

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: