Fault tolerant heap shim message

Discussions related to Visual Prolog
Loffy
Active Member
Posts: 47
Joined: 15 Aug 2019 11:32

Fault tolerant heap shim message

Unread post by Loffy » 23 Nov 2019 8:41

I am currently testing and get the following message after selecting to run the Debugger:

Project 'C:\Data & Photos\Data\PDC\Loffys Test Bed V2\Loffys Test Bed V2.vipprj' is opened
Project components have been saved
No changes.
Debug: outputDebugString('FTH: (2096): *** Fault tolerant heap shim applied to current process. This is usually due to previous crashes. ***').

Yes, some earlier tests crashed, though after fixing some of the faults I am still getting this message despite closing VIP and re-opening; and also after restarting my computer.

Does anyone have a suggestion to "clear" the effect of the previous crashes?

Regards,

Loffy

Loffy
Active Member
Posts: 47
Joined: 15 Aug 2019 11:32

Re: Fault tolerant heap shim message

Unread post by Loffy » 24 Nov 2019 13:17

I seem to have proceeded past the debug error message by issuing a memory::garbageCollect(), statement from a small standalone routine, though I remain confused why the error persisted for a significant number (about 10) of debug runs.

Also, I am not absolutely convinced that the memory::garbageCollect(), statement was the reason that the debug error finally cleared.

I would appreciate understanding the persistence of the error, and how to "properly" clear the error.

Regards,

Loffy

User avatar
Thomas Linder Puls
VIP Member
Posts: 1625
Joined: 28 Feb 2000 0:01

Re: Fault tolerant heap shim message

Unread post by Thomas Linder Puls » 29 Nov 2019 23:31

It is a Windows thing. It seems to be controllable. See: Fault Tolerant Heap.
Regards Thomas Linder Puls
PDC

Loffy
Active Member
Posts: 47
Joined: 15 Aug 2019 11:32

Re: Fault tolerant heap shim message

Unread post by Loffy » 30 Nov 2019 2:49

Thomas,

Thanks for the info. I won't play with the windows settings (just yet). I will wait and see if it happens again.

Regards,

Loffy

Post Reply