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, 03-25-2026, 09:53 PM
    0 responses
    9 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 03-25-2026, 09:51 PM
    0 responses
    7 views
    0 likes
    Last Post CaptainJack  
    Started by sjsj2732, 03-23-2026, 04:31 AM
    0 responses
    155 views
    0 likes
    Last Post sjsj2732  
    Started by NullPointStrategies, 03-13-2026, 05:17 AM
    0 responses
    357 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    393 views
    0 likes
    Last Post argusthome  
    Working...
    X