Login Page - Create Account

Support Board


Date/Time: Thu, 25 Apr 2024 13:14:26 +0000



Out of memory alert

View Count: 881

[2018-11-02 19:06:22]
User630719 - Posts: 11
Hi, I've just come across a serious "out of memory" problem. I'm trying to backtest a trading strategy but a chart suddenly disappears (reaching 80% loading) when I try to load 300+ days.

Log:
"F.US.ENQZ18 [C] 2 PriceChanges #2 | Commodity Channel Index | Encountered an out of memory condition when calling study function. | 2018-11-02 13:02:35 *
".

Is it possible to increase the amount of memory Sierra could access and use? This problem occurs no matter 32 or 64bit version is used.
[2018-11-02 23:46:42]
Sierra Chart Engineering - Posts: 104368
If you are running into this problem on the 64-bit version, then this is going to be something you would have to solve at the operating system level. An application program has no control over this.
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
[2018-11-03 02:28:02]
User630719 - Posts: 11
Both, as I wrote. And I am not the only one who has to deal with this issue.
[2018-11-03 07:14:26]
jenda3 - Posts: 21
Hello, I have the same problem. When I run backtest and then track the usage of the operating memory in the task manager, I can see that Sierra throws an out of memory message when it consumes around 3.5GB of memory. It makes me in 32 and 64 bit version
[2018-11-03 16:59:29]
Yoda - Posts: 106
I'm not sure who or why this discussion was converted into a [User Discussion] because imo Sierra Chart has an issue with memory. I'm not sure if you are experiencing the same issue, but you can find the thread about my memory issue here: Two issues with my custom study incl. crashing computer during replay

In a nutshell, it turns out that Sierra Chart will not work for me if sc.FreeDLL is set to 1, it must be set to zero:

sc.FreeDLL = 0;

With the above change, the memory issue disappears for me. But it's a real pain when working on custom studies.

In the above post, Sierra Chart Support has stated:

What we have decided to do is we are going to implement centralized tracking of DLL loading, and only release a DLL only when doing a remote build and when the user manually releases it.

A problem like this is very detrimental and you are not the only user who has experienced it. There is probably more problems than we are aware of.

Unfortunately, they did not give any time frame as to when they will get to this issue.
[2018-11-03 19:21:02]
Sierra Chart Engineering - Posts: 104368
because imo Sierra Chart has an issue with memory.
The Windows operating system does and this is a completely absurd problem. It is totally ridiculous something like this even exists to begin with and we are working on a workaround solution now.
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
[2018-11-03 22:56:04]
Sierra Chart Engineering - Posts: 104368
We should have the new DLL module manager out today. We are working on it now. This was a fairly involved task to do it right and also effective of the next version, 1835, sc.FreeDLL will no longer be used.

It just is going to get ignored and we are going to remove it from all of the existing study functions.

However, we do not think what we are working on is necessarily a solution for what is stated in the first post in this thread. This is probably unrelated. It was our impression that it is unrelated. But we really ultimately do not know.
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
[2018-11-05 13:46:43]
User90125 - Posts: 715
Is this active yet in v1836 64-bit?
[2018-11-05 17:37:01]
Sierra Chart Engineering - Posts: 104368
Yes it is.
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

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

Login

Login Page - Create Account