Jump to content
Medved Trader Forums

stock777

Members
  • Posts

    776
  • Joined

  • Last visited

  • Days Won

    4

Posts posted by stock777

  1.  Not sure why I didnt hear back from you so went ahead tried restoring the prev working version (only the main program directory) , which did not seem to help.  No idea how this went to crap so fast

     Loaded the BASIC layout, and that of course has no problem with cpu.

     Restored successively  older layouts of mine  until one finally seemed relatively stable, and at least I could use the program. 

      Noticed that one very busy thread (posted in the prev message) is still chewing cpu with a big difference,  the usage ebbs and flows, where in the bad layouts , the usage is a CONSTANT 6-8%, causing severe unresponsiveness.

     

     So theres something in my layout that all of a sudden is not playing nice.

  2. This is the stack for that process

     

    dont think anything should be using 6-8% cpu

     

    ntdll.dll!RtlMoveMemory+0x1d3
    ntdll.dll!RtlReleaseSRWLockShared+0xeb9
    ntdll.dll!RtlReAllocateHeap+0x2a3
    ntdll.dll!RtlReAllocateHeap+0x7d
    gdiplus.dll!GdipCreateBitmapFromScan0+0x15f29
    gdiplus.dll!GdipCreateBitmapFromScan0+0x18a55
    gdiplus.dll!GdipCreateBitmapFromScan0+0x1781d
    gdiplus.dll!GdipCreateBitmapFromScan0+0x1674b
    gdiplus.dll!GdipMultiplyMatrix+0xb03
    gdiplus.dll!GdipCreateBitmapFromScan0+0x1b513
    gdiplus.dll!GdipMultiplyMatrix+0x8cd
    gdiplus.dll!GdipCreateBitmapFromScan0+0x19706
    gdiplus.dll!GdipCreateBitmapFromScan0+0x109b3
    gdiplus.dll!GdipDrawRectangle+0x54d
    gdiplus.dll!GdipDrawRectangle+0x4a9
    gdiplus.dll!GdipSetMatrixElements+0x7d7
    gdiplus.dll!GdipDrawLines+0xb2
    gdiplus.dll!GdipDrawLinesI+0xa3
    [Native Frame: IL Method without Metadata]
    [Managed to Unmanaged Transition]
    C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll!System.Drawing.Graphics.DrawLines+0x99
    D:\Program Files\Medved Trader\TeeChart.Client.dll!Steema.TeeChart.Drawing.Graphics3DGdiPlus.DrawCurve+0x376
    D:\Program Files\Medved Trader\TeeChart.Client.dll!Steema.TeeChart.Styles.FastLine.Draw+0x27b
    D:\Program Files\Medved Trader\TeeChart.Client.dll!Steema.TeeChart.Styles.Series.DrawSeries+0x935
    D:\Program Files\Medved Trader\TeeChart.Client.dll!Steema.TeeChart.Chart.DoDraw+0x390
    D:\Program Files\Medved Trader\TeeChart.Client.dll!Steema.TeeChart.Chart.DrawAllSeries+0x197
    D:\Program Files\Medved Trader\TeeChart.Client.dll!Steema.TeeChart.Chart.InternalDraw+0x7ce
    D:\Program Files\Medved Trader\TeeChart.Client.dll!Steema.TeeChart.Chart.InternalDraw+0x31
    D:\Program Files\Medved Trader\TeeChart.Client.dll!Steema.TeeChart.TChart.Draw+0xa61
    D:\Program Files\Medved Trader\TeeChart.Client.dll!Steema.TeeChart.TChart.OnPaint+0x310
    C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll!System.Windows.Forms.Control.PaintWithErrorHandling+0x67
    C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll!System.Windows.Forms.Control.WmPaint+0x3d2
    C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc+0x320
    C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.Callback+0xc2
    [Unmanaged to Managed Transition]
    [Native Frame: IL Method without Metadata]
    clr.dll+0x222e
    USER32.dll!CallWindowProcW+0x3f8
    USER32.dll!DispatchMessageW+0x39c
    USER32.dll!SendMessageTimeoutW+0x143
    ntdll.dll!KiUserCallbackDispatcher+0x24
    win32u.dll!NtUserCallHwndLock+0x14
    [Native Frame: IL Method without Metadata]
    [Managed to Unmanaged Transition]
    C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll!System.Windows.Forms.Control.Update+0x30
    D:\Program Files\Medved Trader\MT.exe!MT.ChartInfo.RefreshChart+0x46f
    D:\Program Files\Medved Trader\MT.exe!MT.ChartWindowCharts.RefreshAll+0xb5
    D:\Program Files\Medved Trader\MT.exe!MT.ChartWindow.InvalidateChart+0x6d
    D:\Program Files\Medved Trader\MT.exe!MT.ChartWindow.RecalcAndPaintAllCharts+0xcba
    [Unmanaged to Managed Transition]
    clr.dll!LogHelp_TerminateOnAssert+0x1b93
    clr.dll!LogHelp_TerminateOnAssert+0x1aa4
    clr.dll!MetaDataGetDispenser+0x32cd2
    clr.dll!MetaDataGetDispenser+0x33145
    [Managed to Unmanaged Transition]
    C:\WINDOWS\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll!System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal+0x84
    C:\WINDOWS\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll!System.Delegate.DynamicInvokeImpl+0xa0
    C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallbackDo+0x9d
    C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallbackHelper+0x69
    C:\WINDOWS\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll!System.Threading.ExecutionContext.RunInternal+0x172
    C:\WINDOWS\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll!System.Threading.ExecutionContext.Run+0x15
    C:\WINDOWS\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll!System.Threading.ExecutionContext.Run+0x55
    C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallback+0xbc
    C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallbacks+0xe6
    C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc+0x509
    C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.Callback+0xc2
    [Unmanaged to Managed Transition]
    [Native Frame: IL Method without Metadata]
    clr.dll+0x222e
    USER32.dll!CallWindowProcW+0x3f8
    USER32.dll!DispatchMessageW+0x259
    [Native Frame: IL Method without Metadata]
    [Managed to Unmanaged Transition]
    C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll!ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop+0x341
    C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll!ThreadContext.RunMessageLoopInner+0x1c7
    C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll!ThreadContext.RunMessageLoop+0x52
    D:\Program Files\Medved Trader\MT.exe!<>c__DisplayClass78_0.<CreateInThread>b__0+0x306
    C:\WINDOWS\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll!System.Threading.ExecutionContext.RunInternal+0x172
    C:\WINDOWS\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll!System.Threading.ExecutionContext.Run+0x15
    C:\WINDOWS\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll!System.Threading.ExecutionContext.Run+0x55
    C:\WINDOWS\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll!System.Threading.ThreadHelper.ThreadStart+0x55
    [Unmanaged to Managed Transition]
    clr.dll!LogHelp_TerminateOnAssert+0x1b93
    clr.dll!LogHelp_TerminateOnAssert+0x1aa4
    clr.dll!LogHelp_TerminateOnAssert+0x2358
    clr.dll!MetaDataGetDispenser+0x12a2f
    clr.dll!LogHelp_TerminateOnAssert+0x2f50
    clr.dll!LogHelp_TerminateOnAssert+0x2ec3
    clr.dll!LogHelp_TerminateOnAssert+0x2e02
    clr.dll!LogHelp_TerminateOnAssert+0x2fe7
    clr.dll!MetaDataGetDispenser+0x12919
    clr.dll!LogHelp_TerminateOnAssert+0x6835
    KERNEL32.dll!BaseThreadInitThunk+0x14
    ntdll.dll!RtlUserThreadStart+0x21

     

  3.  Keep in mind Ive made no changes other than this months Windows Update over the weekend.  And MT seemed to run well enough today, before updating to the new prod version .

     I use the built in Microsoft Defender,   and nothing else.

     I added any dirs to the exclusions that werent there, and no diff in the problem.

     

     Whats the easiest way for me to rollback to the previous beta .  I can restore from a recent  drive backup  but if theres a more direct way, lets try that

  4.  First time  in a long while I've seen problems like this.

     I thought I noticed something tonight even on the latest beta before updating  , but used it all day today and no issues.

     Loaded up the new prod build and  not usable.

     

    High CPU, not responding errors on various windows in task manager, very slow response to any menu request or clicking on a chart.  Takes up to a minute for the settings menu to come up.   seems like theres some process running in  hard loop

    Tried all the easy stuff.

    1) deleted the sdata.bin and snews database

    2) loaded a backup of settings from last week

    3) rebooted pc

     

    No luck with any of those .

    I sent the log along as well.

     image.thumb.png.06e9ad9d8c45e3f15b207cc50f52a156.png

  5.  Cut off the subs to only a few open portfolios  , 60 symbols

     On relog , theres a blast of data, then drops to zero

     With the high sub count , stream of data is constant.

      Do you have to continuously poll these guys ?

     

     

     

     

     

  6.   I see the CNBC news feed allows a lot of subscribed tickers. (i have 4000), since  There are very few actual headlines, but a constant 50-100k /sec bandwith usage.

      much higher than ameritrade

      is this normal ??

     Do i need to subscribe to all those tickers for CNBC feed , or not ?

     

     

  7. Was gonna suggest that , you're a step ahead.

     

     I figured out how it happened.  I have a hotkey for that hide indicator function .  . I usually use it on my main chart , before doing a screen shot.

     Must have been focused on the chart in question and didnt realize it , when I pressed the hotkey .

     I didn't think of the Compare Symbol as an indicator, per se,  so it didnt dawn on me that this was the issue.

     

     

  8.   Something odd , I have a chart with the XLF as base and other s&p sector symbols as Compare Symbols

     

    all of a sudden, the compared symbols show as hidden, even though they ARE NOT set to hidden .

     

    Cant get them back .

     

    Rather than just rebuild the chart, lets figure out why

     

    Also attaching the saved chart template

    image.png.6c7b7029e0d1cb37dfc2ab1f7f804afc.png

     

    test.txt

×
×
  • Create New...