Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

4 Pages<1234>
Rider freezes UI very often when combined with NCrunch
Remco
#42 Posted : Monday, November 17, 2025 9:43:42 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,526

Thanks: 1021 times
Was thanked: 1370 time(s) in 1271 post(s)
TimVisma;18464 wrote:
Unfortunately I still have the freeze problem.


Sorry, looks like I'm going to need another capture like the last one.
TimVisma
#43 Posted : Monday, November 17, 2025 10:06:14 AM(UTC)
Rank: Member

Groups: Registered
Joined: 6/27/2024(UTC)
Posts: 25
Location: Netherlands

Thanks: 2 times
Remco;18465 wrote:
TimVisma;18464 wrote:
Unfortunately I still have the freeze problem.


Sorry, looks like I'm going to need another capture like the last one.


I have send you the new log files in the contact form.
Remco
#44 Posted : Tuesday, November 18, 2025 2:34:05 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,526

Thanks: 1021 times
Was thanked: 1370 time(s) in 1271 post(s)
2 users thanked Remco for this useful post.
TimVisma on 11/26/2025(UTC), mullerwashere on 2/13/2026(UTC)
TimVisma
#45 Posted : Tuesday, November 18, 2025 9:22:46 AM(UTC)
Rank: Member

Groups: Registered
Joined: 6/27/2024(UTC)
Posts: 25
Location: Netherlands

Thanks: 2 times
Der-Albert.com
#46 Posted : Wednesday, November 19, 2025 7:51:55 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 5/17/2011(UTC)
Posts: 244

Thanks: 15 times
Was thanked: 58 time(s) in 54 post(s)
I had my best Rider/NCrunch Week in ages with Rider 2025.3.01.... can't remember a freeze.

But this could be just luck. But had the don't find SDK problem.
1 user thanked Der-Albert.com for this useful post.
Remco on 11/19/2025(UTC)
TimVisma
#47 Posted : Wednesday, November 26, 2025 11:40:36 AM(UTC)
Rank: Member

Groups: Registered
Joined: 6/27/2024(UTC)
Posts: 25
Location: Netherlands

Thanks: 2 times
I've been using the new version of NCrunch for a few days now, and I haven't really noticed any freezes anymore (at least not as often or as quickly ;). Every now and then, a complete freeze occurs throughout Windows, but that's most likely due to a Slack issue (https://www.reddit.com/r/Slack/comments/1o0ee8e/slack_desktop_for_windows_keeps_freezing_window/).

Thank you so much Remco for resolving the issue. What was the likely cause?

If I experience freezes again, I'll report them in this thread.
Remco
#48 Posted : Wednesday, November 26, 2025 11:08:45 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,526

Thanks: 1021 times
Was thanked: 1370 time(s) in 1271 post(s)
Finally! I did have high hopes on that last fix.

We were starving the thread pool for the IDE. It wasn't obvious, but the background threads being used for transferring NCrunch data into editor windows were being allocated from the same pool as the threads used by the IDE for everything else, which apparently has a limit. This explains the erratic nature of the issue, and why the freezes were of variable length. When the IDE would try to allocate a thread for an important foreground task, it would sometimes need to wait until a thread became available. The problem would get worse when more editors were open in the IDE.

Interestingly it wouldn't take many threads for the pool to hit the limit. The IDE must run quite close to it during normal operation.
1 user thanked Remco for this useful post.
mullerwashere on 2/13/2026(UTC)
mullerwashere
#49 Posted : Friday, February 13, 2026 9:45:03 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 10/15/2017(UTC)
Posts: 8
Location: Brazil

Thanks: 2 times
Was thanked: 1 time(s) in 1 post(s)
I just wanted to chime in.

v5.20 didn't fix the UI hanging but v5.21 seems very smooth so far. RIder 2025.3.1
1 user thanked mullerwashere for this useful post.
Remco on 2/13/2026(UTC)
Rasmus
#50 Posted : Thursday, February 26, 2026 8:55:40 AM(UTC)
Rank: Member

Groups: Registered
Joined: 3/17/2017(UTC)
Posts: 23
Location: Denmark

Was thanked: 4 time(s) in 4 post(s)
Hi,

I am on NCrunch 5.21.0.2, Rider 2025.3.3. I am experiencing this quite often; UI freeze with Alt-Tab back and forth solving it.

Let me know if I can provide more info.

Cheers
mullerwashere
#51 Posted : Thursday, February 26, 2026 9:43:16 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 10/15/2017(UTC)
Posts: 8
Location: Brazil

Thanks: 2 times
Was thanked: 1 time(s) in 1 post(s)
Working on a test heavy solution now, even with NCrunch not enabled, rider still hangs quite a lot, every couple of minutes I have to alt tab back and forth so it unfreezes. As soon as I remove NCrunch's plugin, the hanging stops.

NCrunch 5.21.0.1 and Rider 2025.3.3.
Remco
#52 Posted : Thursday, February 26, 2026 10:40:46 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,526

Thanks: 1021 times
Was thanked: 1370 time(s) in 1271 post(s)
Could you check the logs under Rider to see if it reports a reason for the hanging? Usually when the UI is unresponsive, it takes a full thread dump. You can find these by going through Help-Diagnostic Tools-Show Log in Explorer.
Rasmus
#53 Posted : Friday, February 27, 2026 7:02:23 AM(UTC)
Rank: Member

Groups: Registered
Joined: 3/17/2017(UTC)
Posts: 23
Location: Denmark

Was thanked: 4 time(s) in 4 post(s)
Sure. I have a couple of threadDumps-freeze logs mentioning ncrunch. How do I get them to you?
Remco
#54 Posted : Friday, February 27, 2026 7:07:48 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,526

Thanks: 1021 times
Was thanked: 1370 time(s) in 1271 post(s)
Could you zip them up and put them through the contact form?
Rasmus
#55 Posted : Tuesday, March 3, 2026 7:52:50 AM(UTC)
Rank: Member

Groups: Registered
Joined: 3/17/2017(UTC)
Posts: 23
Location: Denmark

Was thanked: 4 time(s) in 4 post(s)
I uploaded some more yday. Did you receive those?

Cheers
Remco
#56 Posted : Tuesday, March 3, 2026 10:14:48 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,526

Thanks: 1021 times
Was thanked: 1370 time(s) in 1271 post(s)
Oddly, they didn't come through. There is a size limit of around 10MB. Are you maybe able to strip out the parts that seem less relevant?

Something that would also be interesting to know is whether the performance issue shows up when the NCrunch engine is disabled (but the plugin is still loaded in the IDE).
Remco
#57 Posted : Tuesday, March 3, 2026 10:12:40 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,526

Thanks: 1021 times
Was thanked: 1370 time(s) in 1271 post(s)
Thanks for sending through the pruned logs. I've taken a look through them. This set of logs doesn't contain anything that directly points to NCrunch being responsible for a performance issue. There are NCrunch threads shown in the logs, but these are all background ones that are well disconnected from the UI and they are all in a suspended state (i.e. waiting for work to do).

I'm wondering if you could share more information about the nature of this issue.

- Can you find any pattern around when it occurs?
- Does it happen while the NCrunch engine is disabled?
- How long are the freezes?
- Do they happen only when typing out code, or when doing anything in the IDE?
- Does the IDE itself detect that the thread is hung and give you an option to capture the stack?
- Does the performance issue itself seem to be specific to large solutions only?
mullerwashere
#58 Posted : Monday, March 9, 2026 10:09:36 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 10/15/2017(UTC)
Posts: 8
Location: Brazil

Thanks: 2 times
Was thanked: 1 time(s) in 1 post(s)
Remco;18700 wrote:
Can you find any pattern around when it occurs?

Not really, it just feels somewhat random. I could be clicking the solution explorer, scrolling through a file, navigating using Rider's shortcuts.

Remco;18700 wrote:
Does it happen while the NCrunch engine is disabled?

Yes, even when the engine is disabled the freezes still occurr. The only way to make it go away for sure is to completely disable NCrunch. No tool windows shown, not pinned to any dock whatsoever.

Remco;18700 wrote:
How long are the freezes?

Roughly 3-5 seconds each time. Can happen multiple times per minute, I've got 20gb allocated to rider (usually caps around 5-6gb, one, maybe two instances open at any given time).

Remco;18700 wrote:
Do they happen only when typing out code, or when doing anything in the IDE?

Anything.

Remco;18700 wrote:
Does the IDE itself detect that the thread is hung and give you an option to capture the stack

Nope.

Remco;18700 wrote:
Does the performance issue itself seem to be specific to large solutions only?

I thought that would be the case but going back to small-mid size projects and the hanging has been somewhat severe, my initial impressions were misjudged. Currently running on 5.21.0.1.

One very peculiar behavior is that whenever a freeze happens, if I alt-tab to any other window, aside from Rider's, the UI responds immediately and the hanging is gone. Maybe this could be useful?
I haven't gotten around to sending you logs, I'll do it soon.

Edit: I have nothing inside my threaddumps-freeze folders so I guess Rider doesn't even detect it as a proper freeze on its side. Any other log I can send your way?
Remco
#59 Posted : Monday, March 9, 2026 11:04:18 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,526

Thanks: 1021 times
Was thanked: 1370 time(s) in 1271 post(s)
Thanks for this extra information. This is all very helpful. From what you've described, the problem feels like it's resource related.

I'm wondering about its consistency. Does the problem present itself consistently enough that if it were gone, you'd know within 5 minutes? Or do you get periods of usage where it normally doesn't present, then it suddenly shows up?

The reason I ask this is that I presently have no way to try and identify the issue outside of more code reviews and providing you with test builds. I can't produce the problem on my side, and the JB diagnostics are strangely not providing any useful information. All I can really do is try and make a guess, then send a new build. It's not an efficient way to troubleshoot. If the problem is present all the time while you work, at least the test builds can get us an immediate answer.
mullerwashere
#60 Posted : Monday, March 9, 2026 11:57:36 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 10/15/2017(UTC)
Posts: 8
Location: Brazil

Thanks: 2 times
Was thanked: 1 time(s) in 1 post(s)
Remco;18717 wrote:
Does the problem present itself consistently enough that if it were gone, you'd know within 5 minutes? Or do you get periods of usage where it normally doesn't present, then it suddenly shows up?

I'd know for sure within five minutes. 5.20 the hangings were very common, every few seconds a 3-5 freeze would happen. Seems like for 5.21 it's down to a freeze every 20-30 seconds.

If you need any logs or any help, let me know. I'll make it a top priority to check this thread daily, if you provide me with test builds, I'll get back to you ASAP.
Remco
#61 Posted : Tuesday, March 10, 2026 3:37:22 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,526

Thanks: 1021 times
Was thanked: 1370 time(s) in 1271 post(s)
Thanks, I'll have a look around and will get back to you.
Users browsing this topic
Guest (2)
4 Pages<1234>
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.094 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download