Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
NT8 optimization fills 100% of physical memory then crashes
I believe this to be a bug with NT8.
I noticed the same with several of my strategies that I upgraded to NT 8.
I haven't filed the issue with NT yet. As a workaround, I don't put an extreme level of variables in the strategy to optimize (work 3 or 4 variables each time, with not too many iterations).
After running several times, I need to exit NT8 and come back in, so it will release the memory.
Hi,
I also had this problem for a few months which drove me nuts and almost had me quitting NT. I have cured it (so far anyway) by doing this:
- Open a new chart and progressively add indicators, until I identified which one gave me problems
- When I have multiple work spaces open I always have one work space with one simple chart only. So no indicators 5 days of data (someting small)...lets call it Workspace A. Then when I close down NT8 I always close every workspace, until I get to the Workspace A, leave that open and then close NT8. So when it re-opens, that Workspace A is the first to start up. Another FIO member gave that tip and it works
- The usual other platform maintenance, re DB Folder.
Now, I think that if a platform is this 'sensitive' there is something not right with the product.
Figured I post here, since there is a memory dump issue for sure with NT8 when running large strategies or optimization. I went from 32 GB to 64 GB ram, and it doesn't matter - it will fill to 100% and slow computer to a crawl - or crash if you try to be "fast". At 16 GB NT8 used to crash, but it was also the previous version, so that may have been addressed (crash issue itself). Now I just click close and wait literally 5 minutes to respond, and once NT8 closes, the speed returns, as physical Ram is released.
What I did was to sync my NT8 folder, and AFTER I closed NT8, I noticed hundreds of files created in my synced google drive folder. Upon closure, NT8 deletes all those files, and so it seems like it just keeps creating and opening more and more files forever in the background, without closing them.
My theory is that WHILE NT8 is running all those files (let's say a strategy for 500+ stocks) continually updates minute data, but rather than opening the new minute data, it also keeps the previous file open. It's a single stock, it should have ONE file that updates, and instead, it creates a new file for every data point it seems - and they must be all being accessed. I'd attach a screenshot of what my sync folder looks like, versus what NT8 folder looks like. However, these files are created in this folder:
DRIVE:\Documents\NinjaTrader 8\db\cache\US Equities RTH.Eastern Standard Time\MINUTE
Open any ticker, and you will see the insanity that ensues, as the program runs longer, until seemingly every file is open as more are being created and left open.
So.... not viable still for continuous usage sadly =(
I thought I read a thread here somewhere that was a how to guide on this forum to fixing NinjaTrader to get rid of performance / ram issues. Does anyone have a link?