Support Board
Date/Time: Sun, 12 Jan 2025 15:17:22 +0000
How to release sc.MakeHTTPRequest memory
View Count: 736
[2017-03-07 01:13:11] |
User612903 - Posts: 51 |
Hi, I'm struggling with something : everytime i use : "sc.MakeHTTPRequest" in a custom study Sierrachart seems to use some memory. This memory seems to be never released. Is there a way to release that memory ? Or Prevent it ? You can do a simple study with this line : sc.MakeHTTPRequest("URL");
And you will see in windows the RAM increasing at each call. Am i missing something ? Thanks for your help, Regards Date Time Of Last Edit: 2017-03-07 01:14:14
|
[2017-03-07 04:03:19] |
Sierra Chart Engineering - Posts: 104368 |
The only persistent memory use will be the maximum size of the data received among the HTTP requests. There will be some temporary memory use for the network socket, but that eventually will get released when the socket is closed which should happen within a minute. If you are noticing more than the above, then this would seem to be a system specific issue or something else you are doing which is using a lot of memory. 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: 2017-03-07 04:03:48
|
[2017-03-07 11:42:47] |
User612903 - Posts: 51 |
Hi, Thank you very much for your reponse. Maybe what i see is the 3 lines in the log window : "Making http request" "connected" "..." Is there a way to disable this or prevent all log in the message window so it does not affect the ram ? Thanks for your help, Regards |
[2017-03-07 11:44:58] |
Sierra Chart Engineering - Posts: 104368 |
No, there is no way to prevent those messages but those are not going to consume much memory. Next to nothing
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 |
[2017-03-07 12:48:14] |
User612903 - Posts: 51 |
Ok thank you very much for your help
|
To post a message in this thread, you need to log in with your Sierra Chart account: