Login Page - Create Account

Support Board


Date/Time: Mon, 29 Apr 2024 13:28:36 +0000



Post From: sc Event / Flag to capture DLL release

[2019-04-08 18:21:25]
Sierra Chart Engineering - Posts: 104368

I believe it would be great if Sierra would initiate last call to my study before unloading DLL, so I can release memory properly. At least something similar to sc.LastCallToFunction if not just it.
But if the study is actually not getting removed from the chart, then this would not completely makes sense.

Any memory allocated by a DLL must get released and the pointers set to null before the DLL is unloaded. Otherwise, there are going to be exceptions if that memory is used again because the operating system is releasing that memory.

The reason for the larger binary size with remote compiling is that there is a different compiler being used which is apparently including a lot more standard library functions which may not be used.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2019-04-08 18:21:58