Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Optimize Abort doesn't actually do anything

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

    Optimize Abort doesn't actually do anything

    I've been running some optimizations lately that are taking too long, and whether i abort 1 minute in or 10 minutes in, nothing actually aborts. I know this because my output window is still printing as if it was optimizing. Its frustrating that I need to restart the app to fix this. Why does it happen?

    Abort should abort.

    #2
    Hello Skifree,

    The Abort button will cancel testing any remaining iterations of the optimization as soon as the currently testing iteration completes.
    (Meaning it will not interrupt the inprogress backtest iteration, but will abort running further iterations)

    Note, that if the computer has run out of memory resources the computer will use the hard drive as memory (known as page filing or paging) and the optimization will slow to a crawl and aborting will take a really long time.

    If this is happening, taking advantage of IsInstantiatedOnEachOptimizationIteration being set to false can improve the memory resource use.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    69 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    41 views
    0 likes
    Last Post PaulMohn  
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    166 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    101 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    164 views
    2 likes
    Last Post CaptainJack  
    Working...
    X