Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unable to clear out cache data

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

    Unable to clear out cache data

    After startup i often get an error stating: "Unable to clear out cache data".
    The Trace File says:

    Code:
    2016-11-29 15:53:59:003 ERROR: Data.Bars.ClearCache: System.IO.IOException: The process cannot access the file 'C:\Users\aloha\Documents\NinjaTrader 8\db\cache\Default 24 x 7.W. Europe Standard Time\TICK\ES 12-16\90_3_1_Last_Close_Tick_Minute_1.201611230600.209912010000.LastSR.ntt' because it is being used by another process.
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.File.InternalDelete(String path, Boolean checkHost)
       at NinjaTrader.Data.BarsSeries.ClearCache(Instrument instrument, DateTime firstData2Clear, Boolean clearReplayCache, Nullable`1 barsPeriodType)
    if i manually delete the cache files, it works for the first time without an error and then the error is back again.

    Any ideas?

    NT 8.0.1.0 64-bit (Standard)
    Rythmic

    #2
    mk77ch, thank you for your post!

    Deleting the cache files, generally, resolves the error message you provided. Additionally, this error provides further information stating that another process is accessing NinjaTrader 8's files while NinjaTrader is running. As a troubleshooter, I would suggest that you disable any backup/ant-virus/firewall software to see if any of these applications are accessing NinjaTrader's files at the same time.

    If you see the same, we've also seen these messages in relation to expired third-party indicators or add-ons. If you have any of these, I suggest removing them to see if that will resolve the error message. To remove:

    * Tools > Remove NinjaScript Assembly

    Please reply to this thread if you're unable to resolve the error message.
    Riley S.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    65 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    41 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    23 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    26 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    52 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X