Login Page - Create Account

Support Board


Date/Time: Sun, 05 May 2024 15:05:43 +0000



Post From: Memory leak (?) when using Ichimoku indicators

[2013-05-03 14:28:23]
dkasak - Posts: 4
Thank you for the explanation, that seems reasonable and I agree with your assessment.

I had a hunch it might be related to the default draw style for the study (fill bottom/top) so I tried drawing the Senkous as lines and sure enough, the problem went away. It appears it gets triggered when the A and B lines are very close together, so since a fill top/bottom was used, perhaps it's some kind of a clipping/floating point precision bug that makes the Wine graphics library try to paint/allocate to infinity since it "overshoots" the top/bottom? You have more insight into how exactly are the fill top/bottom draw styles implemented so you'll know better if this is possible. If this is indeed a Wine bug/corner case due to the differences in how the graphics API calls are implemented, would it be feasible to implement a workaround for Wine?