Set Event Rule Timer Stack Size


  • EFT Server Enterprise version 6.4 and later


In EFT versions earlier than 7.0, Event Rule Timers default to a 1 MB thread stack size.

In EFT v7.0 and later,  Event Rule Timers default to a 385KB thread stack size.

You should consult with Globalscape Support before changing this value, as there may be dependent components (such as our OpenPGP) that do not support a non-standard stack size. Changing the stack size may introduce risk of crashes.

Some customers have a large number (>250) of Timers that simply call an AWE task. It is possible to reduce the Timer stack size to 64KB to reduce memory usage. The following registry value will set the stack size in bytes:

32-bit: HKEY_LOCAL_MACHINE\Software\GlobalSCAPE Inc.\EFT Server 4.0

64-bit: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\GlobalSCAPE Inc.\EFT Server 4.0

Create the DWORD: "TimerStackSize"

If no value is set, then the EFT default size of 385 KB is used.

If the value is zero, the system default of 1 MB is used.

Setting the value to 65536 will result in a 64KB stack size.