Author Topic: Fault Tolerant Heap and WSCommCntr4.exe error  (Read 15002 times)

2016-02-19, 10:47:02

alessandro deana

  • Active Users
  • **
  • Posts: 36
    • View Profile
    • de-cube
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.
Alessandro Deana | de-cube it !
www.de-cube.it
www.facebook.com/decubeit

2016-02-19, 14:48:10
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12780
  • Marcin
    • View Profile
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...
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2016-02-19, 19:31:42
Reply #2

alessandro deana

  • Active Users
  • **
  • Posts: 36
    • View Profile
    • de-cube
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!
Alessandro Deana | de-cube it !
www.de-cube.it
www.facebook.com/decubeit

2016-02-20, 14:18:25
Reply #3

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
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.
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2016-02-20, 15:13:56
Reply #4

alessandro deana

  • Active Users
  • **
  • Posts: 36
    • View Profile
    • de-cube
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!
Alessandro Deana | de-cube it !
www.de-cube.it
www.facebook.com/decubeit

2016-02-28, 11:46:43
Reply #5

micmac

  • Active Users
  • **
  • Posts: 97
    • View Profile
Hello allessandro,
I have the same problem with FTH and WSCommCntr4.exe
Do you resolve the problem and how?

2016-02-28, 13:03:12
Reply #6

alessandro deana

  • Active Users
  • **
  • Posts: 36
    • View Profile
    • de-cube
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.
Alessandro Deana | de-cube it !
www.de-cube.it
www.facebook.com/decubeit

2016-02-29, 08:56:41
Reply #7

micmac

  • Active Users
  • **
  • Posts: 97
    • View Profile
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!

2016-02-29, 09:40:47
Reply #8

alessandro deana

  • Active Users
  • **
  • Posts: 36
    • View Profile
    • de-cube
Hi Micmac
You have to click with the right mouse button on the highlighted strip, than change the value from 1 to 0.
Alessandro Deana | de-cube it !
www.de-cube.it
www.facebook.com/decubeit

2016-02-29, 13:08:38
Reply #9

micmac

  • Active Users
  • **
  • Posts: 97
    • View Profile
Thanks alessandro! it works!
Have a good day!

2016-02-29, 14:54:37
Reply #10

agentdark45

  • Active Users
  • **
  • Posts: 577
    • View Profile
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.
Vray who?

2016-02-29, 15:06:17
Reply #11

FrostKiwi

  • Active Users
  • **
  • Posts: 686
    • View Profile
    • YouTube
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.
I'm 🐥 not 🥝, pls don't eat me ( ;  ;   )