• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

RC1 and "loading data" crashes

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

  • NinjaTrader_Austin
    replied
    adamus, your file handle would be an example of a custom resource. Can you please list the exact steps you're following that lead to the crash so we can try to reproduce it?

    Leave a comment:


  • adamus
    replied
    The strategies are all 60mins time frame, although I was experimenting with 10mins for a while to try to get more turnover to flush any bugs out.

    I load 5 days back and 55 bars required.

    Actually at the time of one or perhaps two of the crashes I didn't even have any strategies loaded.

    What are custom resources? I think the only custom resource I use is a file handle to do some logging but that's opened once at init and closed at terminate so it's just the one handle.

    I don't have any indicators on the chart and on the Market Analyzer I only have ATR.

    I think from the resources point of view I'm not doing anything noteworthy really.

    This is on Win7-64. Plus I'm using IB with history turned off and IQ FXCM for history as the second connection.

    Leave a comment:


  • NinjaTrader_JoshP
    replied
    Pardon that comment. I was looking at the wrong files.

    I see you are running many strategies. What are the data requests for each of these strategies? Tick? Min? How many days back?

    Another possibility could be if the strategies are using custom resources and they are not being disposed properly. You could run out of memory that way too. Or the undisposed resource could originate from an indicator on your chart too.

    Leave a comment:


  • adamus
    replied
    Hi Josh,

    I restarted NT after each crash. I didn't have a choice since it crashed and wasn't running anymore!

    In fact I even restarted windows on one occasion.

    I'm not sure what you're looking at in the traces that makes you think I'm getting out-of-memory exceptions and ignoring them and carrying on regardless trying to trade.

    Perhaps you have misinterpreted the fact that I allowed NT about 15 mins to try to come back from the dead before Windows itself finished it off automatically. This is NT7.

    re memory: I only have 20 forex pairs loaded in Market Analyzer and one chart. During normal operations it doesn't have any hardware resource problems - I bought the PC just to run NT and trade about 3 months ago.
    Last edited by adamus; 11-05-2010, 03:39 PM.

    Leave a comment:


  • NinjaTrader_JoshP
    replied
    Ideally you would have your PC clock synced right before you connect. Less is fine, but it should be synced regularly enough that things don't get too out of whack.

    From the looks of your traces, but never restart your NT. Your NT is already out of memory and anything downstream is just not predictable. Please restart NT. I suspect you are running out of memory because NT is simply trying to load a ton of data. As it tries to load it all it needs to store all of that information in memory and with so many instruments it could potentially just run out of RAM to do the process all at the same time. You could try opening your Task Manager and tracking RAM usage as you load data to confirm/deny this.

    Leave a comment:


  • adamus
    replied
    Hi Jason,

    my computer clock is within 5 seconds of the clock in IB TWS and www.timeanddate.com

    It syncs regularly. Out of interest how often would you advise to configure its sync routine & why, in terms of causing problems with NT?

    I attached my workspace folder.
    Attached Files

    Leave a comment:


  • NinjaTrader_Jason
    replied
    Hello adamus,

    I checked your trace file an it lists the crashes below.


    2010-11-04 06:01:10:727 ********* exception trapped *********
    2010-11-04 06:01:10:727 Exception of type 'System.OutOfMemoryException' was thrown.
    2010-11-04 06:01:10:727 at NinjaTrader.Data.MarketDataEventArgs.Process()
    at NinjaTrader.Cbi.Connection.OnRealtimeDataTimerTick (Object sender, EventArgs e)
    at System.Windows.Forms.Timer.OnTick(EventArgs e)
    at System.Windows.Forms.Timer.TimerNativeWindow.WndPr oc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    2010-11-04 21:59:43:109 ********* exception trapped *********
    2010-11-04 21:59:43:109 Exception of type 'System.OutOfMemoryException' was thrown.
    2010-11-04 21:59:43:203 System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
    at System.Timers.Timer.MyTimerCallback(Object state)
    at System.Threading._TimerCallback.TimerCallback_Cont ext(Object state)
    at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state)
    at System.Threading._TimerCallback.PerformTimerCallba ck(Object state)


    Can you please check if your PC clock is in synch. If so and the issue recurs after a restart of NinjaTrader, please send me your workspace. You can find workspaces at (My) Documents-->NinjaTrader 7-->workspaces.

    Please send it to support[at]ninjatrader[dot]com. Put 'Attn Jason' in the subject header and reference this thread.

    Leave a comment:


  • adamus
    started a topic RC1 and "loading data" crashes

    RC1 and "loading data" crashes

    This has happened three times today so I don't think it's just bad luck, I've not seen NT act this way before more than once a month, so I suspect there is something wrong in NT7betaRC1.

    I have about 20 forex pairs in the Market Anaylzer with an indicator column, reading the feed from IB.

    I also have one chart window open. I switched to $GBPUSD and expected to see an instantaneous display of the latest bars because GBPUSD is set up in the Market Analyzer.

    However "loading..." appeared in the CC status line, and then after a few minutes the chart went blank with the message in the top left corner "loading data". After a few seconds the windows changed to "Not responding" and NT had obviously crashed.

    After 15 mins, several dialog boxes appeared and the one on top was the Windows "this program appears to have crashed, send data about NinjaTrader to Microsoft?".

    I clicked "close" and it all shut down and I now I am sending you the traces and logs.
    Attached Files

Latest Posts

Collapse

Topics Statistics Last Post
Started by ahm1992, Today, 04:56 PM
6 responses
28 views
0 likes
Last Post bltdavid  
Started by firstlanetech, Today, 11:24 AM
2 responses
29 views
0 likes
Last Post NinjaTrader_ChelseaB  
Started by grayfrog, Today, 09:29 PM
0 responses
5 views
0 likes
Last Post grayfrog  
Started by alcorr247, Today, 12:04 PM
1 response
13 views
0 likes
Last Post NinjaTrader_EricB  
Started by HiddenPhilosopher, Today, 11:08 AM
1 response
9 views
0 likes
Last Post NinjaTrader_ChelseaB  
Working...
X