Login Page - Create Account

Support Board


Date/Time: Thu, 02 May 2024 23:01:46 +0000



sc.fileclose() doesn't release memory

View Count: 534

[2019-11-23 08:10:33]
User735389 - Posts: 188
i have a loop creating thousands of files, where i create a new file, write to it, then close it. Memory builds and isn't being released until i close sierrachart.
[2019-11-23 21:07:56]
Sierra Chart Engineering - Posts: 104368
We think the memory use issue is at the operating system level. It could not be within Sierra Chart. When you make a call to sc.FileClose and a nonzero value is returned, the file was successfully closed.
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
[2019-11-23 21:26:37]
Sierra Chart Engineering - Posts: 104368
Definitely confirming there is no problem at all with closing a file from ACSIL and the memory is released. Besides, from the side of Sierra Chart there is virtually no memory even used with file operations. Really no memory at all.
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-11-23 23:46:22
[2019-11-24 04:34:23]
User735389 - Posts: 188
thanks i verified this as well. the culprit was suprisingly SCString.AppendFormat(). I created a separate support thread for it.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account