
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
debugging each function can locate the problem properly and set a task in the SD
there seems to be an error in canvas size calculation a gigabyte canvas is trying to recreate
or a huge array is created in some kind of loop
debugging each function can locate the problem properly and set a task in the SD
there seems to be an error in canvas size calculation a gigabyte canvas is trying to recreate
Or it creates a huge array in some kind of loop
More like this: "...creates a huge array in some kind of loop", as I've definitely seen an array of 300 elements LIVE on the RAM. While the laptop was "breathing" I managed to see 5GB.
The problem is only floating - at least put video recording of what happens on screen - to catch which combinations lead to fatal results.
it didn't play for me
I can't reproduce it.
I don't have a clear playback either. I just saw this:
Isn't that the problem?
No, it's good on the contrary )
It makes no difference. A normal compiler should do these optimizations itself.
Judging by the description, we have a suspicion that the problem is with a memory leak and maybe not in the code at all.
No, it's the opposite of good )
Fixed it to the usual i++ and compiled more expanded code = 5GB again :). I'll give the code later, while we're hovering...
This is more likely: "...creates a huge array in some kind of loop", as I've definitely seen an array of 300 elements CAUSING RAM. While the laptop was "breathing" I managed to see 5GB.
The problem is only floating - you might as well put a third-party camera video of what's happening on the screen - to catch which combinations lead to a fatal result.
Afternoon!
The reason for the hang-up is disabling of auto-stitching: xAxis.AutoScale(false)
In this case you have a very large range of values stored in the arrX array:
And you don't change the value of the step to split the axis when putting the signature my_graphic.XAxis().DefaultStep(), and since it is 25.0 by default, the number of signatures the library tries to generate is equal:
Which leads to a hang, there are two options:
Fixed to familiar i++ and compiled more expanded code = 5GB again :). I'll give the code later, while hanging...
Somewhere in here:
trouble. I'm only spoiling these lines.
Good afternoon!
The cause of the hang-up is disabling auto-stepping: xAxis.AutoScale(false)
You have a very large range of values stored in the arrX array:
And you don't change the value of the step to split the axis when putting the signature my_graphic.XAxis().DefaultStep(), and since it is 25.0 by default, the number of signatures the library tries to generate is equal:
Which leads to a hang, there are two options:
Thanks! Cut (removed) the lines with AutoScale and with the step setting in general.
And immediately a wish: I can make a slanted (angled) font for both axes at once (my_graphic.FontSet("Arial",10,0,180);). Can't we make this font (or angle) setting method for a separate axis?