Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: alessandro deana on 2016-02-19, 10:47:02

Title: Fault Tolerant Heap and WSCommCntr4.exe error
Post by: alessandro deana on 2016-02-19, 10:47:02
Hi everybody,
I have a problem with this corona error:

Windows enabled 'Fault Tolerant Heap' for 3dsmax or dependent processes. This may have severe performance impact on Corona. Please follow the link to learn how to solve the problem.
Affected executables are:
WSCommCntr4.exe


I already tried all the solutions you suggest in the help desk: https://coronarenderer.freshdesk.com/support/solutions/articles/5000678431-windows-enabled-fault-tolerant-heap-for-3dsmax-or-dependent-processes-this-may-have-severe-perform

I tried to set both WSCommCntr4.exe and 3dsmax.exe run as administrator flag to on even if I am the admin of my workstation..This solution is suggested in the Autodesk help desk.

I tried to rename or remove the WSCommCntr4.exe from its directory.

Yesterday Corona was working fine.

Today I was just testing some batch render with 3dsmax command line and .bat files.
I just copied the .bat inside the 3ds max root folder and started it. It was working fine but suddenly the Fault Tolerant Heap appeared and now I can not fix it anymore.

Is there someone who can help me?

Thank you very much.
Title: Re: Fault Tolerant Heap and WSCommCntr4.exe error
Post by: maru on 2016-02-19, 14:48:10
Hi, have you tried doing this? "3. Disabling FTH completely:"

Which executable is affected now? Is it WSCommCntr4.exe again?

If you rename or remove WSCommCntr, it should not happen again...
Title: Re: Fault Tolerant Heap and WSCommCntr4.exe error
Post by: alessandro deana on 2016-02-19, 19:31:42
Hi Maru,
I re-installed 3ds Max, Corona and I cleaned all Autodesk folders.
I cleaned the registry too but the error is still there.

I tried all the solution in Corona Help Desk.
The third solution "Disabling FTH completely" is the only one that works but I am not sure I want to disable it for all programs!!
Actually I don't know what FTH does exactly but maybe it has some utility...

I tried to rename and remove WSCommCntr4.exe but it does not solve the problem.
I checked in the Event Viewer and the executable affected is always WSCommCntr4.exe and not 3ds max itself.

What do you think about that?

Thank you very much for your support!
Title: Re: Fault Tolerant Heap and WSCommCntr4.exe error
Post by: Ondra on 2016-02-20, 14:18:25
FTH is a desperate attempt by Microsoft to make badly-written applications crash less. But there is a good reason why application crash - if you just let them run after crash (which is also really easy to do, and Autodesk is doing it with their Nitrous viewport drivers in 3ds max for example), you risk much bigger problems such as installation corruption, user data/files corruption, etc. It is safe to turn FTH off.
Title: Re: Fault Tolerant Heap and WSCommCntr4.exe error
Post by: alessandro deana on 2016-02-20, 15:13:56
Hi Ondra,
Thanks for your explanation.
I don't know what happened because the FTH error message appeared suddenly without modifying anything...
Thanks again and see you in Venice next week!
Title: Re: Fault Tolerant Heap and WSCommCntr4.exe error
Post by: micmac on 2016-02-28, 11:46:43
Hello allessandro,
I have the same problem with FTH and WSCommCntr4.exe
Do you resolve the problem and how?
Title: Re: Fault Tolerant Heap and WSCommCntr4.exe error
Post by: alessandro deana on 2016-02-28, 13:03:12
Hi Micmac,
I resolved the problem disabling FTH:
To disable Fault Tolerant Heap entirely on a system, set the REG_DWORD value HKEY_LOCAL_MACHINE\Software\Microsoft\FTH\Enabled to 0.
After changing this value, restart the system. FTH will no longer activate for new applications.


I spoke with Ondra last weekend and he explained me that is not a Corona fault but it is related to some Windows Update.
You know Windows now installs some updates automatically and you can not manage them any more.

If you read the Corona Help Desk it seems the problem is related with long pre-rendering, long saving, freezing, etc.
In my case those problems don't occur so we can disable FTH.
Title: Re: Fault Tolerant Heap and WSCommCntr4.exe error
Post by: micmac on 2016-02-29, 08:56:41
Thanks for the reply alessandro,
I'm a bit of a newbie and i don't know where to put this value.
in the attached file, you can see that there is 11 reg_dword files and don't know wich one to enable to 0.
I'm a bit scared to do something wrong.
Can you drive me trough this last step?
Thanks!
Title: Re: Fault Tolerant Heap and WSCommCntr4.exe error
Post by: alessandro deana on 2016-02-29, 09:40:47
Hi Micmac
You have to click with the right mouse button on the highlighted strip, than change the value from 1 to 0.
Title: Re: Fault Tolerant Heap and WSCommCntr4.exe error
Post by: micmac on 2016-02-29, 13:08:38
Thanks alessandro! it works!
Have a good day!
Title: Re: Fault Tolerant Heap and WSCommCntr4.exe error
Post by: agentdark45 on 2016-02-29, 14:54:37
I've done the regedit tweaks, but still get random slowdown's sometimes where I'm only using ~ 30% of the CPU. I'm really at a loss as to how to fix this. Restarting 3ds Max / my computer fixes the issue if that's any help.
Title: Re: Fault Tolerant Heap and WSCommCntr4.exe error
Post by: FrostKiwi on 2016-02-29, 15:06:17
I've done the regedit tweaks, but still get random slowdown's sometimes where I'm only using ~ 30% of the CPU. I'm really at a loss as to how to fix this. Restarting 3ds Max / my computer fixes the issue if that's any help.
Just for fun: disable pagefile and render. If now 3dsmax crashes it's unlucky memory management or some memory related bug. If you can reproduce the slow render without pagefile, that would make ram management related issues from windows side non-resposible.