NexusFi: Find Your Edge


Home Menu

 





NT8 optimization fills 100% of physical memory then crashes


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one paulrobert with 7 posts (1 thanks)
    2. looks_two rleplae with 6 posts (0 thanks)
    3. looks_3 cls71 with 1 posts (0 thanks)
    4. looks_4 sienna with 1 posts (0 thanks)
    1. trending_up 12,873 views
    2. thumb_up 4 thanks given
    3. group 10 followers
    1. forum 20 posts
    2. attach_file 1 attachments




 
Search this Thread
  #1 (permalink)
paulrobert
Arlington VA
 
Posts: 11 since Feb 2017
Thanks Given: 0
Thanks Received: 2

I am attempting to run an NT8 optimization on a fully-automated strategy called NanoScalper.I have an Intel i7, SSD, and 32 GB of RAM.

Regardless of the number of iterations, the physical memory used climbs to around 100% at which point NT8 crashes. The CPU usage spikes and eventually returns to around 5%, but the physical memory % never decreases.

I have considerably more processing power than what is recommended for NT8, so I am trying to figure out if I need to change a setting within the application.

Thanks in advance!

Paul


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
CFTC Requests Tag 50 Trader Identity Data From CME and I …
Traders Hideout
The Confluence Meter: A Multi-Layered Signal Framework B …
The Elite Circle
Al Arabiya: US-Iran Draft Deal Within Hours Contains Hor …
Prediction Markets & Event Contracts
Victory Day Delivers: Russia-Ukraine Ceasefire Market Cl …
Prediction Markets & Event Contracts
SEC Chairman Calls for New Golden Age of SEC-CFTC Regula …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
20 thanks
2026 Jlab journal
10 thanks
Trying to learn Volume and price action correlation
8 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
5 thanks
  #2 (permalink)
 
rleplae's Avatar
 rleplae 
Gits (Hooglede) Belgium
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 2,947 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,860


paulrobert View Post
I am attempting to run an NT8 optimization on a fully-automated strategy called NanoScalper.I have an Intel i7, SSD, and 32 GB of RAM.

Regardless of the number of iterations, the physical memory used climbs to around 100% at which point NT8 crashes. The CPU usage spikes and eventually returns to around 5%, but the physical memory % never decreases.

I have considerably more processing power than what is recommended for NT8, so I am trying to figure out if I need to change a setting within the application.

Thanks in advance!

Paul

what instrument ?
what period of time ?

have you tried shorter period ?


Follow me on X Visit my NexusFi Trade Journal Reply With Quote
  #3 (permalink)
paulrobert
Arlington VA
 
Posts: 11 since Feb 2017
Thanks Given: 0
Thanks Received: 2


The period is 2/6 - 2/10 (reduced from 1 month) and the contract is CL.


Reply With Quote
  #4 (permalink)
 
rleplae's Avatar
 rleplae 
Gits (Hooglede) Belgium
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 2,947 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,860

How many parameters are you trying to optimize and what is the spectrum of values ?


Follow me on X Visit my NexusFi Trade Journal Reply With Quote
  #5 (permalink)
paulrobert
Arlington VA
 
Posts: 11 since Feb 2017
Thanks Given: 0
Thanks Received: 2

There are 6 parameters. I am not familiar with spectrum of values.


Reply With Quote
  #6 (permalink)
 
rleplae's Avatar
 rleplae 
Gits (Hooglede) Belgium
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 2,947 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,860

I'm trying to understand the total number of combinations you ask the system
to figure out. If you create an extreme high number of combinations, that could
cause the system to run out of memory.

Much more likely, might be a memory leak in one of the indicators. A memory
leak is a software error, where the programmer reserves memory and does not
release that memory correctly. While not easy with c#, it could point to one of
the indicators you use.

You could try to reduce the number of indicators and see if all of a sudden the
problem goes away, once you know which indicator it is, you can try to mitigate
the error


Follow me on X Visit my NexusFi Trade Journal Reply With Quote
  #7 (permalink)
paulrobert
Arlington VA
 
Posts: 11 since Feb 2017
Thanks Given: 0
Thanks Received: 2

It totals 20735 iterations. Would fixing a leak require access to the code? This was something I purchased and don't think is accessible?


Reply With Quote
  #8 (permalink)
 
rleplae's Avatar
 rleplae 
Gits (Hooglede) Belgium
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 2,947 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,860


paulrobert View Post
It totals 20735 iterations. Would fixing a leak require access to the code? This was something I purchased and don't think is accessible?

1) first you need to try to located the leak
is it one indicator or a complete suite ?

2) secondly, yes you need to code to fix the leak


Follow me on X Visit my NexusFi Trade Journal Reply With Quote
  #9 (permalink)
paulrobert
Arlington VA
 
Posts: 11 since Feb 2017
Thanks Given: 0
Thanks Received: 2

It's one fully-automated strategy.


Reply With Quote
  #10 (permalink)
 
rleplae's Avatar
 rleplae 
Gits (Hooglede) Belgium
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 2,947 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,860



paulrobert View Post
It's one fully-automated strategy.

who is the vendor ?
of is it custom build for you ?


Follow me on X Visit my NexusFi Trade Journal Reply With Quote




Last Updated on December 12, 2018


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts