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 Big Mike with 1 posts (2 thanks)
    4. looks_4 dstrader with 1 posts (1 thanks)
    1. trending_up 6,857 views
    2. thumb_up 4 thanks given
    3. group 10 followers
    1. forum 20 posts
    2. attach_file 1 attachments




 
Search this Thread

NT8 optimization fills 100% of physical memory then crashes

  #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?
About a successful futures trader who didn´t know anyth …
Psychology and Money Management
Better Renko Gaps
The Elite Circle
Cheap historycal L1 data for stocks
Stocks and ETFs
Quant vue
Trading Reviews and Vendors
What broker to use for trading palladium futures
Commodities
 
  #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: 3,003 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,863


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 Twitter 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: 3,003 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,863

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

Follow me on Twitter 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: 3,003 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,863

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 Twitter 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: 3,003 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,863


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 Twitter 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: 3,003 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,863



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

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

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




Last Updated on December 12, 2018


© 2024 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 - Privacy Policy - Downloads - Top
no new posts