Managed Memory Usage

Hi,

I'm trying to diagnose memory and performance issues I'm having with ReSharper 6.1.1 when editing javascript and css files.
I have enabled managed memory usage in the status bar and I am seeing 3 values:
2012-09-11_1240.png
Is this normal?
Thanks.

7 comments
Comment actions Permalink

Hello Marcus,

What will happen if you mouseover the all three managed memory numbers there?
Also, are you using any custom themes/colors? The font and color on the status bar doesn't look standard to me.

Thank you.

0
Comment actions Permalink

Hi,

I've attached a small video showing what happens.
You might also be able to view it from here: http://screencast.com/t/3EBO2ErCeSKY
(The link isn't working for me, but possibly due to our corporate firewall)

I was using custom themes and colours for that first image, but this started before I changed from the default.
I've restored the default (and restarted the IDE) for the video.

Thanks
MM.



Attachment(s):
2012-09-13_0821.swf
0
Comment actions Permalink

OK, Marcus, thanks for the info.

Here are some questions:
- What will happen if you uncheck the 'Show Managed Memory' checkbox in ReSharper | Options | Environment | General dialog?
- Do you have dotTrace and dotCover installed?

Please let me know.

0
Comment actions Permalink

What will happen if you uncheck the 'Show Managed Memory' checkbox in ReSharper | Options | Environment | General dialog?
- All 3 values disappear

Do you have dotTrace and dotCover installed?
- Yes (both)



MM.
0
Comment actions Permalink

Hey Marcus,

Thanks for the info. Basically, it is the issue - you're seeing managed memory for all 3 produtcs, and checkbox is working for all products because of the settings layers configuration - I assume, you saved the state to 'Solution-Personal' level.
It is not a real issue, but if you'd like to recieve only one memory status in the status bar, you'll need to reset the solution personal settings in the 'ReSharper | Manage Options' dialog. It should do the trick.

Thanks.

0
Comment actions Permalink

Yep - that did the trick. But why?

I presume all three are triggered from this setting:

<s:Boolean x:Key="/Default/Environment/MemoryUsageIndicator/IsVisible/@EntryValue">True</s:Boolean>


But now that I've removed that setting, why am I still seeing a value?

And is each value representative of the memory usage of each component, or is it the same value displayed 3 times?

Thanks
MM.

0
Comment actions Permalink

This is caused by a minor issue on our side, especially - the settings engine. All three products have separate managed memory indicator, which is triggered by the checkbox in the options dialog. Internally, the checkboxes do have the same name in the settings file, that's why enabling it for one of the products do force it to be shown for two others as well.

Thank you.

0

Please sign in to leave a comment.