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 Hwop38, 05-04-2026, 07:02 PM
    0 responses
    163 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    313 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    245 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    350 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    179 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Working...
    X