Login Page - Create Account

Support Board


Date/Time: Mon, 29 Apr 2024 15:42:00 +0000



High CPU while disconnected

View Count: 555

[2017-03-13 22:40:33]
WarriorTrader - Posts: 245
I’ve noticed that SC is using 20% of my i5 CPU even when it is disconnected from the data feed. Is this normal? I have been running 1209 for a while and the CPU would go down to almost nothing once I disconnected. I’ve been creating test chartbooks in 1522. Even the simplest test chartbooks will get up to 5 or 7% while disconnected.

I tried rebuilding my chartbook but got the same result.

Also, do you have a better alternative to the sc.GetStudyPersistentVariablesFromChartUsingID( ). Version 1522 is doing a lot more recalculations than version 1209. It may also be causing my chartbook to hang on any reconnection. Still am not sure about the cause of the hanging.

Been working on this for three weeks with no solution so far.

Thx,
WT
[2017-03-14 00:36:02]
Sierra Chart Engineering - Posts: 104368
I’ve noticed that SC is using 20% of my i5 CPU even when it is disconnected from the data feed. Is this normal?
It could be if a chart is continuously redrawing or getting recalculated. Refer to help topic 30:
https://www.sierrachart.com/index.php?page=doc/helpdetails30.php

What is the problem with this function sc.GetStudyPersistentVariablesFromChartUsingID( )?

How do you come to this conclusion?:
Version 1522 is doing a lot more recalculations than version 1209.

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-14 00:36:46
[2017-03-14 01:09:22]
WarriorTrader - Posts: 245
How do you come to this conclusion?:

I used the same chartbook in 1522 and the log has a whole lot more recalculations. My chartbook is complex so I will spare you the post of the message log. Will have to post a simplified chartbook.

I also notice CPU usage with the Study Overlay study while disconnected from the live feed.

Thx
--WT

PS: I also have a study that hangs after every reconnect. At least the chartbook hangs when the study is included. I Can't really debug it because the chartbook hangs before any code is executed. It is the only study that uses sc.MaintainVolumeAtPriceData = 1 but I can't know for sure what is the cause. All I can do is take things out and rework the chartbook dependencies to see if it does not freeze up.
Date Time Of Last Edit: 2017-03-14 01:10:22

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

Login

Login Page - Create Account