Версия 4.1.1 ( и в предыдущих версия то же) Если формируешь свечки за 1 два месяца размером 5 мин. , то все нормально, если пытаюсь большой интервал (год, два) то вылетает и пишет:
Сигнатура проблемы: Имя события проблемы: CLR20r3 Сигнатура проблемы 01: hydra.exe Сигнатура проблемы 02: 4.1.1.0 Сигнатура проблемы 03: 4fc5025a Сигнатура проблемы 04: Ecng.Reflection Сигнатура проблемы 05: 1.0.0.0 Сигнатура проблемы 06: 4f986578 Сигнатура проблемы 07: 1f0 Сигнатура проблемы 08: 22 Сигнатура проблемы 09: System.OutOfMemoryException Версия ОС: 6.1.7601.2.1.0.256.48 Код языка: 1049 Дополнительные сведения 1: 0a9e Дополнительные сведения 2: 0a9e372d3b4ad19135b953a78882e789 Дополнительные сведения 3: 0a9e Дополнительные сведения 4: 0a9e372d3b4ad19135b953a78882e789
Память на компьютере 3 Gb. Система Win7 - 32x.
Kommentare (14)
Anmelden oder Konto erstellen, Melden Sie sich an oder registrieren Sie sich, um einen Kommentar zu hinterlassen
Гидра последняя (скачана с кодеплекс)?
Скачено с box.com
Можете попробовать на той, что на dev?
Попробовал с dev. То же ошибка.
Сколько оперативки у вас? Приведите stackTrace
Памяти 3Gb. Заполняется до 2,8 а потом вылетает.
System.OutOfMemoryException не обработано пользовательским кодом Message=Выдано исключение типа "System.OutOfMemoryException". Source=StockSharp.Algo StackTrace: в #=q6qtfoL2nCLtZyYFzsBruXBENdrnQ01oqnG3itWMNOe6YRA4KVzEKJsWNcjclOIDn.MoveNext(#=qdEdb7pzBzoYF55S2D6u40udDSzZmFbDPyebSntrS7wTLPaQK4Bjvnw32VjxWuHfQIkbOu6PHLihP0X_$PTo9eQ== #=qqObbNuTICQjnyYaVkMwLlg==) в #=qdEdb7pzBzoYF55S2D6u40udDSzZmFbDPyebSntrS7wTLPaQK4Bjvnw32VjxWuHfQIkbOu6PHLihP0X_$PTo9eQ==.#=qbbHpGiDXzD9GoesT$tAY0dix8L0BnyNPo$IM7Zjm_YgO17dmLVJr825wxipF2x() в StockSharp.Algo.Storages.StorageHelper.#=qEwYp7iolTiuI1HaJ3KdCj0KFFj_CocTR$JEr9mjW6rs=.#=qE53xzVKHaD2ZrLUbmBJ3ijvPo1kzod9A7$ibZ5dmL9vMafu3C1L0YLQGajhOdnqP() в System.Linq.Enumerable.WhereSelectEnumerableIterator
2.MoveNext() в System.Linq.Lookup2.Create[TSource](IEnumerable1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer1 comparer) в System.Linq.GroupedEnumerable3.GetEnumerator() в System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer1 comparer) в System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func2 keySelector, Func2 elementSelector) в StockSharp.Algo.Candles.Compression.RawConvertableCandleBuilderSource1..ctor(IEnumerable1 values) в StockSharp.Hydra.CandlesWindow.BuildClick(Object sender, RoutedEventArgs e) в D:(Inst)\Proshie\S\dev\dev\Hydra\Hydra\CandlesWindow.xaml.cs:строка 128 в System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) в System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) в System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) в System.Windows.UIElement.RaiseEvent(RoutedEventArgs e) в System.Windows.Controls.Primitives.ButtonBase.OnClick() в System.Windows.Controls.Button.OnClick() в System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e) в System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e) в System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) в System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) в System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) в System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) в System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) в System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e) в System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) в System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) в System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) в System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) в System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) в System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) в System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted) в System.Windows.Input.InputManager.ProcessStagingArea() в System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) в System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) в System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) в System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) в System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) в MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) в MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) в System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) в MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) InnerException:Попробуйте последнюю версию на кодеплексе.
Скачал последнею сборку. Теперь свечки формируются и память не забивается из кнопки свечки. Но: В excel сохраняет одну строку; А в текстовый форматы вместо данных пишет: \(candles:\) \(candles:\) \(candles:\) \(candles:\) \(candles:\) \(candles:\) \(candles:\) \(candles:\) \(candles:\) \(candles:\) \(candles:\) \(candles:\) \(candles:\)
Еще один фикс.
Спасибо. Все работает.
А если флажек "Построить из тиков" снять. То из какого источника можно строит свечки?
Опять не могу сформировать свечки за два года, интервал 5 -мин. Сборка последняя с dev.
System.OutOfMemoryException не обработано Message=Выдано исключение типа "System.OutOfMemoryException". Source=Ecng.Reflection StackTrace: в Ecng.Reflection.ReflectionHelper.AddMember(Dictionary`2 members, MemberInfo member) в Ecng.Reflection.ReflectionHelper.GetMembers(Type type, String memberName, BindingFlags flags, Boolean inheritance) в Ecng.Reflection.ReflectionHelper.GetMembers(Type type, BindingFlags flags, Boolean inheritance, String memberName, Type[] additionalTypes) в Ecng.Reflection.ReflectionHelper.GetMember(Type type, String memberName, BindingFlags flags, Type[] additionalTypes) в Ecng.Reflection.ReflectionHelper.GetValue[I,A,V](I instance, String memberName, BindingFlags flags, A arg) в StockSharp.Xaml.BaseApplication.HandleException(Exception exception) в StockSharp.Xaml.BaseApplication.OnDispatcherUnhandledException(Object sender, DispatcherUnhandledExceptionEventArgs e) в System.Windows.Threading.Dispatcher.CatchException(Exception e) в System.Windows.Threading.Dispatcher.CatchExceptionStatic(Object source, Exception e) в System.Windows.Threading.ExceptionWrapper.CatchException(Object source, Exception e, Delegate catchHandler) в MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) в System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) в MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) в MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) в System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) в System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame) в System.Windows.Application.RunDispatcher(Object ignore) в System.Windows.Application.RunInternal(Window window) в System.Windows.Application.Run(Window window) в System.Windows.Application.Run() в StockSharp.Hydra.App.Main() в D:(Inst)\Proshie\S\dev\dev\Hydra\Hydra\obj\Debug\App.g.cs:строка 0 InnerException:
Я проверял на диапазоне с 2006 по 2012. Нормально, память не кушалась. Посмотрим, что скажут другие.
Теперь сборки выкладываются в trunk, в dev - версии 4.2. В dev ничего не обновлялось.
А вот из последней ветки trunk, все работает!