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 CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    51 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    31 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    99 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    177 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    170 views
    0 likes
    Last Post CarlTrading  
    Working...
    X