Extreme Memory Usage by Resharper Host Process

Answered

This screenshot tells all:

Yes, I invalidated caches and restarted. No matter what I do, this process balloons to almost 7GB of memory usage. It's been getting worse and now it's affecting my job. I submitted this same issue on this page https://www.jetbrains.com/help/rider/Cleaning_System_Cache.html but my comments were deleted and I was not contacted by JetBrains.

Please don't make me go back to Visual Studio. Please.

29 comments

Hello Kehlan!

Thank you for contacting us and sorry for the inconvenience.

Could you please send us a memory dump (described here)?

To upload files, you can create an issue in our tracker or read this article about how to upload files.

 

Kind regards,

Sofia.

0

This is unnecessarily frustrating. Why ask for a memory dump if YouTrack can't take the file?

0

Hi, sorry for the confusion :-/

To upload a big file you can create an archive and split it into several parts. After that youtrack will be able to take them.
Also, you can download a dump to our FTP (article).

0

I'm currently uploading the file Muqyvaf.dmw to upload.services.jetbrains.com

0

Hi, 

Could you please try to upload your file again? It seems to be a connection problem. I've tested the uploading of file > 1Gb, and it works.

Also, you can put your file to a google disk or any other storage and send me a link.

If none of the above works for you, I'd suggest that you compress your .dmw file, split your archive as described here, and upload the parts one by one. 

 

Kind regards, 

Sofia

0

Pyfidag.zip.001 through 013 are uploading now.

0

I am sincerely hoping for a rapid response on this. Your IDE is making me hate a job that I love. Please treat this as if one of your own developers was suffering from this issue.

0

Hi!

Thank you for the snapshot.

I've created an issue and assigned it to the corresponding developer. Please watch it for further updates.

 

Sofia

0

As an added detail, today I disabled solution-wide analysis, and still see ridiculous memory consumption. The IDE begins loading gigabytes of memory as soon as I open my solution, even after invalidating caches and restarting.

0

This is memory usage without even opening a solution:

0

Memory usage after copying my original solution file and removing about half of the projects:

If your recommended fix is to remove projects from my solution until memory usage is reasonable, there is a serious problem with the Rider development team's optimization efforts.

0

After running my web application in debug mode and opening one JavaScript file with 1500 lines:

0

This post is marked as "Answered" but this issue is far from resolved.

1

Joining the club of annoyed. To me 9 of 10 cases it is picture like this:

Reshaper is the guy.

0

Hi Semyon,

Could you please send us a memory dump (described here)?

Read this article about how to upload big files to JetBrains.

 

Thanks in advance,

Sofya.

0

Sofia, this post is not "answered" as indicated above. Please correct the status of this post. I understand that this being marked "answered" makes your team look better but it is inaccurate and misleading, suspiciously so.

Sofia, you created a ticket for this issue on September 13th. It is now October 2nd. Why has there been no follow-up from your development team?

If my company treated their paying customers this way, we would not still be in business. I'm not sure how you guys are expected to do things across the pond, but this is unacceptable.

0

I'll be bumping this post daily until I receive a developer response.

Bump.

1

Hello Kehlan, bump indeed!
Quite an idea, no need for that, though.
We're more than concerned about the issue. The thing is that currently JavaScript is supported in both worlds: WS which we use for standalone .js files, and R# which is used for providing support in tags inside razor views and .aspx. The last leads to necessity of keeping the full information about js-related stuff in ReSharperHost process to provide correct codeinsight festures (which results in having enormous memory consumption, you bumps about). We're going to completely get rid of that in this release, and provide all features via WS even for JavaScript inlined in Razor. Performance is the primary but not the only reason for that.
Here's the corresponding ticket in the bugtracker https://youtrack.jetbrains.com/issue/RIDER-9801
You can upvote that to get notifications.
Apart from that there's nothing we can help at the moment.
Sorry for your trouble, we're on it.
Regards, Alexander.

0

I appreciate the response. It's a little concerning that it took more than three weeks to get a paragraph from the development team.

Your YouTrack URL leads to a 404.

0

I've found possible correlation between memory leak in my web application (running in Chrome), and right after that, Rider goes crazy with memory too, as described above.

You can try to reproduce this by running infinite complex calculations with running Rider aside. Again, I just assume that might be related to Chrome with JetBrains Extension installed.

0

A month later and no follow-up. Thanks for the damage control and broken link.

Bump.

0

I reduced visibility constraints. Try now RIDER-9801

0

Here we are almost three months later with no solution in sight...

1

With 2018.3, memory usage is down, but so is performance. You guys shrank a number but made things worse.

I'm at the end of my rope.

0

Kehlan Krumme,

Could you provide more details? What exactly is slow in Rider 2018.3?

0

Please sign in to leave a comment.