Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

Resolved Question

Runtime Error R6016

Mar 10, 2015 6:59AM PDT

Hello Guys,
I get on a computer the "Runtime Error R6016 - Not enough space for thread data"
I looked on Google, not very helpful.
I do not want to install anything to fix the issue and I don't want to restore the computer.
I was wondering if anyone could help me fix the issue without installing any other software.
The computer has Windows 7 and the error message appears with the path to C:\Windows\system32\..hostprotocol.exe or something like this, can't remember for sure.
Thanks in advance!
Nick

Discussion is locked

NickNn1 has chosen the best answer to their question. View answer

Best Answer

- Collapse -
I don't think you can be helped.
Mar 11, 2015 12:09AM PDT

All the fixes I've read involve installing this or that or some system restore (which is NOT system recovery.)

HOWEVER "hostprotocol.exe" is more interesting. You could try disabling the indexer. This is all over the web but I see John Rudby tell how at:
http://answers.microsoft.com/en-us/windows/forum/windows8_1-performance/searchprotocolhostexe-using-100-cpu/f0241aac-fcb4-472d-83e5-e9f9f509546a

I'd try that.

But I fear it's the usual malware infection but as you don't want to install anything you may have to muddle along.
Bob

- Collapse -
Cheers
Mar 11, 2015 6:41AM PDT

That's a computer at work, I did the /scannow, chkdsk commands and no errors in result, checked if Visual C++ needed repair, nothing, we have a good AV program, Virus definition is up to date, No Windows Updates to be installed...it is frustrating...system restore is impossible as the user has made a lot of modifications to the files, it will only annoy him don't even dare saying about reinstalling the Windows.
Thanks Bob, will keep trying to fix it, even though have no clue how Grin

- Collapse -
Oh, it's not yours?
Mar 11, 2015 6:46AM PDT

Did you disable the indexer?

System Restore does not affect user files. And no one goes without backups. I mean what if the HDD just fails? Are they ready?
Bob

- Collapse -
Indexer
Mar 11, 2015 6:55AM PDT

Didn't disable the indexer as it may not be good for the user, he is creating quite a few files, scanning and sending e-mails, It will only create problems in the future i believe. The error happened once.
The PCs get backed up every night, so if I will do a restore in the afternoon there will be a bit of information lost as the users have the good habit of saving the files locally.
I was thinking to copy the SearchProtocolHost.exe from my PC to the user's.
Thanks,
Nick

- Collapse -
We've disabled it for years.
Mar 11, 2015 7:01AM PDT

Can you share the downside?

- Collapse -
Downside?
Mar 11, 2015 7:07AM PDT

Not sure what downside is, This is my first thread.
I believe you want an image of some sort about the error.
I can't provide any screenshots due to company's policies.

- Collapse -
I understand that.
Mar 11, 2015 7:11AM PDT

Since it's a company just move to calling Microsoft for a fix. I worried you would not find a solution due to the limits you lead with. However there was a clue there and something I would try to lighten the load on what can trigger that error.
Bob

- Collapse -
Sorry
Mar 11, 2015 7:16AM PDT

The error message has like title Microsoft Visual C++
Says : Runtime Error R6016 Not enough space... and the path : %Windir%/system32/searchprotocolhost.exe
Can't say more than this I'm afraid.

- Collapse -
Which is why I thought about the indexer.
Mar 11, 2015 7:21AM PDT

We know it can blow up on some files and since replacing it from another machine is never the right move (we use SFC to check the OS files) I thought the next move is to turn that off.

There's other tweaks to the indexer such as limiting what folders it works on but as you appear to be the IT lead I'll let you try that.
Bob

- Collapse -
I am new in IT and I know it
Mar 11, 2015 7:32AM PDT

I am sure I am an IT newbie, You know the thing better than me, I worked in IT for less than a months, quite sure you have years of experience. Don't understand how turning the indexing off will solve a problem that appears once every 90 times(the lowest number I saw on forums)
Thanks for your help any ways, sorry for taking your time.

- Collapse -
No problem.
Mar 11, 2015 7:48AM PDT

I'm sorry I was unclear. Sometimes with Microsoft products there is no "cure" except to avoid what triggers the problem. Since we know that indexing can blow up, we can side step the issue by turning it off or limiting what gets indexed.

Here's a really old example. It's very old. Long ago I found a .jpeg that would lock up Windows Explorer. Worse yet, if you copied it to the desktop then the user's account would lock up on log in.

I thought it was a fine thing to carry with me to a Microsoft seminar and ask for some help. What happened?

After explaining the issue to Microsoft (I was in Redmond no less) the response was "Don't do that." and "Don't put that file on the desktop."

At no point did any softie consider this to be an error or bug worthy of fixing. For me this was a great lesson in how Microsoft works.
Bob

- Collapse -
I see what you mean now
Mar 11, 2015 7:58AM PDT

I will unchek the box in the properties of the disk then, or will consult with the manager which ones to uncheck from the advance list and will see if the user will experience the problem again in the future.
I only thought the issue could be resolved as you would resolve a printer issue, can't print, check the ink, paper, printer on...yale yale...
I saw on forums ideas of modifying the code in order to solve the issue, as a 1st line, don't think I can do that or use any known good software other that the ones we have license for.
Thanks for your help!
Nick

- Collapse -
Answer
Good luck.
Mar 11, 2015 8:02AM PDT

Sorry it took this many posts to share the stories why I thought about this change.

- Collapse -
Answer
Quotas
Mar 11, 2015 11:43AM PDT

If you share this with one or more other users, then it's likely each user has had a quota set on how much hard drive space they are allotted. So, it can appear you have half a drive left of room, b ut still have hit the end of your quota assigned by your boss or IT department for each user. In XP it's in the performance area I believe.