Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

nt8b6- win10 - unhandled exception-Cannot annimate the 'Text' property

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    nt8b6- win10 - unhandled exception-Cannot annimate the 'Text' property

    I think I was using the 32 bit to see if there was a performance difference. Looks like I ran out of memory after 1 month of Playback-MR before that exception even happened.

    Trace:

    ******************* Session Start (Version 8.0.0.6) *******************
    2015-11-22 20:19:07:351 InstallDir='C:\Program Files (x86)\NinjaTrader 8\'
    2015-11-22 20:19:07:351 UserDataDir='C:\Users\WS60_6QJ-025\Documents\NinjaTrader 8\'
    2015-11-22 20:19:07:351 MachineID=xxxxx
    2015-11-22 20:19:07:351 OS='Microsoft Windows NT 6.2.9200.0'/'Win32NT'
    2015-11-22 20:19:07:367 Processors=8
    2015-11-22 20:19:07:367 PhysicalMemory=16384 MB
    2015-11-22 20:19:07:367 .NET/CLR Version='4.0.30319.42000'/32bit
    2015-11-22 20:19:07:367 SqlCeVersion='4.0.8482.1'
    2015-11-22 20:19:07:367 ApplicationTimezone=EST +0 hour(s)
    2015-11-22 20:19:07:367 LocalTimezone=EST +0 hour(s)
    2015-11-22 20:19:07:429 DirectX Rendering=HW
    2015-11-22 20:19:07:429 Deleting temporary files...
    2015-11-22 20:19:07:695 Copying db and custom assemblies...

    ----

    2015-11-22 20:34:04:504 (Playback Connection) Cbi.Account.PositionUpdateCallback: instrument='ES 03-14' account='Playback101' avgPrice=0 quantity=0 marketPosition=Flat operation=Remove
    2015-11-22 20:34:43:207 ERROR: Failed to call 'Add' method: Exception of type 'System.OutOfMemoryException' was thrown.
    2015-11-22 20:34:44:081 *************** unhandled exception trapped ***************
    2015-11-22 20:34:44:081 Exception of type 'System.OutOfMemoryException' was thrown.
    2015-11-22 20:34:44:083 System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
    at System.Reflection.MethodBase.CheckArguments(Object[] parameters, Binder binder, BindingFlags invokeAttr, CultureInfo culture, Signature sig)
    at System.Reflection.RuntimeMethodInfo.InvokeArgument sCheck(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at System.Delegate.DynamicInvokeImpl(Object[] args)
    at System.Windows.Threading.ExceptionWrapper.Internal RealCall(Delegate callback, Object args, Int32 numArgs)
    at System.Windows.Threading.ExceptionWrapper.TryCatch When(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
    2015-11-22 20:34:45:111 ERROR: Error in realtime market data handling: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at NinjaTrader.Cbi.Instrument.OnRealtimeDataTimerElap sed(Object sender, EventArgs e)
    2015-11-22 20:34:47:500 *************** unhandled exception trapped ***************
    2015-11-22 20:34:47:500 Exception of type 'System.OutOfMemoryException' was thrown.
    2015-11-22 20:34:47:501 System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

    [...snip...]

    at System.Windows.Threading.ExceptionWrapper.TryCatch When(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
    2015-11-22 20:35:14:659 *************** unhandled exception trapped ***************
    2015-11-22 20:35:14:659 Exception of type 'System.OutOfMemoryException' was thrown.
    2015-11-22 20:35:14:659 System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
    at System.Windows.Threading.Dispatcher.LegacyBeginInv okeImpl(DispatcherPriority priority, Delegate method, Object args, Int32 numArgs)
    at System.Windows.Threading.DispatcherTimer.Restart()
    at System.Windows.Threading.DispatcherTimer.FireTick( Object unused)
    at System.Windows.Threading.ExceptionWrapper.Internal RealCall(Delegate callback, Object args, Int32 numArgs)
    at System.Windows.Threading.ExceptionWrapper.TryCatch When(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
    2015-11-22 20:35:16:670 *************** unhandled exception trapped ***************
    2015-11-22 20:35:16:670 Exception of type 'System.OutOfMemoryException' was thrown.
    2015-11-22 20:35:16:671 System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
    at VMRuntime.Libraries.CSVMRuntime.PrY=(Assembly P7Y=, String QLY=, Object[] QbY=)
    at VMRuntime.Libraries.CSVMRuntime.RunMethod(String PQYB, Object[] PgYB)
    at NinjaTrader.Cbi.License.get_IsDirect()
    at NinjaTrader.Gui.Chart.ChartControlAlertsHost.Updat eAllAlerts()
    at NinjaTrader.NinjaScript.Alert.OnCheckTimerElapsed( Object state)
    at System.Threading.TimerQueueTimer.CallCallbackInCon text(Object state)
    at System.Threading.ExecutionContext.RunInternal(Exec utionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.TimerQueueTimer.CallCallback()
    at System.Threading.TimerQueueTimer.Fire()
    at System.Threading.TimerQueue.FireNextTimers()
    at System.Threading.TimerQueue.AppDomainTimerCallback ()


    Log:

    2015-11-22 20:34:04:504|1|64|Instrument='ES 03-14' Account='Playback101' Average price=0 Quantity=0 Market position=Flat Operation=Remove
    2015-11-22 20:34:43:207|3|4|Failed to call 'Add' method: Exception of type 'System.OutOfMemoryException' was thrown.
    2015-11-22 20:34:45:111|3|4|Error in realtime market data handling: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at NinjaTrader.Cbi.Instrument.OnRealtimeDataTimerElap sed(Object sender, EventArgs e)
    2015-11-22 20:34:52:036|0|4|Unhandled exception: Cannot animate the 'Text' property on a 'System.Windows.Controls.TextBlock' using a 'System.Windows.Media.Animation.StringAnimationUsi ngKeyFrames'. For details see the inner exception.

    Attached Files

    #2
    Hello,

    Can you tell me if this occurs when running the same amount of data within NinjaTrader 7 32-bit. Also can you tell me if this occurs when running the same data within NinjaTrader 8 (64-bit).
    Christopher J.NinjaTrader Customer Service

    Comment


      #3
      Does not happen in NT8 64 bit.
      Has never happened in NT7 64bit on same data set (although slows to a crawl after 18 months on 250 trades ).

      I'll retest the nt8 32 bit tonight (on win 10 64 bit ).

      (Haven't tried nt7 32 bit). I'd have to install that or wait till next week.

      Comment


        #4
        I retested 32 bit on a clean reboot - no issue with replay. Was 4.5 hours to complete 1/20/2014 to 11/20/2015. NT might have started with 255 MB and now is resting at 434KB to 455KB.


        I'm going to run a 64 bit retest tonight, and rerun that in 32 bit in the morning (without rebooting) and see if it is a result of switching by some odd chance.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by andrewtrades, Today, 04:57 PM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by chbruno, Today, 04:10 PM
        0 responses
        4 views
        0 likes
        Last Post chbruno
        by chbruno
         
        Started by josh18955, 03-25-2023, 11:16 AM
        6 responses
        436 views
        0 likes
        Last Post Delerium  
        Started by FAQtrader, Today, 03:35 PM
        0 responses
        7 views
        0 likes
        Last Post FAQtrader  
        Started by rocketman7, Today, 09:41 AM
        5 responses
        19 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Working...
        X