EAP RC (and before) has high memory utilization, and what looks like a memory leak

This is particularly the case when working with typescript.  I can barely get an hour of editting in before it eats up all available memory, driving the process to over 2gb of ram utilization, or it crashes.

This makes the product unusable for anyone with a decent sized solution that is using typescript.

I can reproduce this easily if you would like to do a webex/gotomeeting to see it in action.

9 comments
Comment actions Permalink

Hello John,

  If you notice any problem with memory usage, please refer to the following article https://confluence.jetbrains.com/display/ReSharper/ReSharper+Profiling+Instructions#ReSharperProfilingInstructions-MemoryIssues about collecting a memory snapshot.

  By the way, please install ReSharper 9.1 release build https://www.jetbrains.com/resharper/download/.

Thanks!

0
Comment actions Permalink

Thanks, already upgraded to 9.1, no change in behavior.

I'll collect the diagnostic information for you guys per the other article.

0
Comment actions Permalink

I get this issue when trying to use dotMemory, I've tried 3 or 4 times now.


Steps to reproduce:

Follow the instructions
Run the Trace
- Visual Studio Opens
- Open my solution

The screen shot contains how it looks after everything "settles", the resharper indicator on the lower-right shows 845 MB



Attachment(s):
dtError.png
0
Comment actions Permalink

I Uploaded the session from the .NET Memory Trace (it has my name in it)

Here is what it contains, there are 4 snapshots; if you need one with more info

Using the latest version of the .NET Memory Profile as suggested
1. right after attach
2. Right after load of 1st typescript file - Usage at 833
-- Copy Contents of file (CE.ts)
-- Paste into other 2 files in other projects - Usage at 954, after profile, using at 843
3. Right after above
-- Repeat for EDM.ts, Entities.ts, EI.ts, and CEI.ts
4. Right After above - Usage at 954, 887 after profile

No changes to the files.  If I have changes, the memory grows way faster, I can capture another set of dumps when I make a new round of changes if that would also help.

John

0
Comment actions Permalink

Hello John,

  My apologies for the delay in the reply.

  Seems like we found the root of the issue and filed a new ticket to YouTrack https://youtrack.jetbrains.com/issue/RSRP-438464. Feel free to track its progress.

Thanks!  

0
Comment actions Permalink

Thanks Alexander; looking at the linked issue, I see it is marked as fixed in branch; any idea what the timeline is before I will be able to get it?

0
Comment actions Permalink

Hello John,

  The fix will be available in ReSharper 9.1.1 we are going to release in the middle of May.

Thanks!

0
Comment actions Permalink

This problem is not fixed in 9.1.1;  After editting Typescript for about 90 minutes, my editor memory usage is still over 2gb, and crashing.  What do you need from me to help us get this fixed, I love your tool, but it is completely unusable if you have any amount of typescript in your solution that you are actively editting.

0
Comment actions Permalink

Hi, John, thanks a lot for the info. Pity.
Could you please take one more memory snapshot, for 9.1.1? And also it will be interesting to have a performance snapshot taken by a tool like dotTrace, closer to the moment of out-of-memory, because it's possible that some memory-eating activity comes to a huge recursion.
Thank you.

If it's possible to share your solution somehow, it would be very great (at least your typescript files from that solution). We can sign an NDA if needed.

0

Please sign in to leave a comment.