Login Page - Create Account

Support Board


Date/Time: Thu, 25 Apr 2024 23:56:48 +0000



Memory Usage Issue

View Count: 914

[2020-11-20 11:21:21]
User75002 - Posts: 117
Hello SC Support:

I do not know exactly when this started, but noticed it this morning. I upgraded to 2196 last night, but I recently changed to per tick data storage also, so not sure if that is playing a role in this. I did try to down-grade to 2192, but did not see a change in behavior, so I went back to 2196.

My issue:
VPS reboot is using about 700MB of memory (4.0GB available on server).
Open SC with all chartbooks - 3.9GB
Close SC and only about 500MB is being released. The server (Windows 2012) is still using 3.5GB to 3.7GB of memory. I let this sit for several minutes to see if it would eventually release but it did not. No SC processes are running and using Task Manager, the memory usage does not add up to the amount consumed.
Open SC with NO chartbooks and the memory is immediately released and drops back to around 700MB of usage.
Open SC again with all chartbooks and memory spikes to 3.9GB.
Closed SC again, and about 200-500MB is released, keeping the server at around 3.5GB - 3.7GB in use.
Open SC with NO chartbooks and it is immediately releasing the memory on the server and uses about 700MB again.

I'd prefer not to revert the tick data storage to test, but will if needed. I'm going away for the weekend so will need to do that Sunday, if requested.

FYI - previously, SC used 200-300MB of memory with all of my chartbooks open. Again, not sure if it's the tick data or another issue.


Thank you!
Date Time Of Last Edit: 2020-11-20 12:26:10
[2020-11-21 12:53:42]
Sierra Chart Engineering - Posts: 104368
We do not have any control over this. Memory use is managed by the operating system. Sierra Chart uses memory very efficiently, but depending upon what you are doing, there could be a lot of memory used depending upon the number of bars loaded, and the studies being used like studies that use Volume at Price data.

There is no change with memory use with newer versions. It is all going to be the same.

We simply have no control over what the operating system is doing with memory. This is not something we can help with.

The changes you see are not related to Sierra Chart. This is operating system specific.
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: 2020-11-21 12:55:09
[2020-11-22 20:15:44]
User75002 - Posts: 117
Hello,

Just wanted to follow up on this issue.

It does appear to be directly related to the amount of data/bars loaded. Since I use higher time frame charts like 240 minute as well as tick/volume/range for entries, I had a lot of days loaded when I switched to tick based storage. Changing the amount of days to load per chart changes the amount of memory used. I do not use any studies on my charts, so it was solely the amount of data loaded.

Thanks!
[2020-11-22 20:54:48]
Sierra Chart Engineering - Posts: 104368
Yes that would make sense because we think the problem relates to the amount of data being read from the Intraday data files and the operating system is caching that data. But Sierra Chart has no control over that behavior.

So if you load less data in the chart, less data is read from the Intraday data files.

And also, we can run a similar test, and not observe the memory increase that you are.
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
[2020-11-23 00:22:43]
User75002 - Posts: 117
Thanks. I'm currently down to 3.3GB total usage, 700MB of that from the base OS on a reboot. SC is showing 297MB in task manager, which is what I'm used to it showing (200-300MB range). As you stated, the OS appears to be the rest of the issue. I'll run some more diagnostics and do some testing.

I'll consider this issue resolved, but may post back from updates for others that may run in to this issue.

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

Login

Login Page - Create Account