![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Miscellaneous Support Miscellaneous support issues. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Jun 2008
Posts: 146
Thanks: 0
Thanked 0 times in 0 posts
|
Hi, there's a glitch I've encountered with memory consumption by NT. It was ok until I ran an extensive backtest that took up 1.5Gb of RAM, after which shut NT down without saving the workspace and restarted my computer. Then on next startup NT ate up 1Gb of RAM and took 2 minutes of time just to get started. Re-installing latest version of NT didn't help... What I should do at this point? I'm running WinXP SP2, .NET 2.0 SP1. Thank you!
Last edited by billitin; 09-24-2008 at 06:41 PM.
|
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
There will be optimizations in performance in NT7. In the meantime you can see this list of performance tips: http://www.ninjatrader-support.com/H...anceTips1.html
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Jun 2008
Posts: 146
Thanks: 0
Thanked 0 times in 0 posts
|
It looks like the only tip that might be relevant is 'uncheck "Run market replay recorder"'. That option was not checked initially. However, running NT makes that 1Gb of memory inaccessible which slows down my machine, as well as limits me for running more large tests, and that's quite inconvenient. Also, now after some time NT started to occasionally suddenly shut down... I'd appreciate if you could find a way to deal with this, not to wait until the December release.
Upon a few hours of inconvenience the problem vanished. After another crush of NT it reloaded as ever before. Hard to say what that was, you might get a note of this memory leak. Thanks for your consideration!
Last edited by billitin; 09-25-2008 at 01:23 AM.
Reason: Problem vanished
|
|
|
|
|
|
#4 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
billitin,
There is no memory leak. Memory is managed by .NET and it will free resources when it decides to. If you run large backtests every single data point requires memory and this is why it eats up all your RAM. Again, there will be improvements in NT7. You will need to work around your RAM limitations by doing smaller backtests for now.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Member
Join Date: Sep 2008
Posts: 62
Thanks: 0
Thanked 0 times in 0 posts
|
I've read the thread about RAM consumption and the performance tips. Why isn't possible to check the Store Real-time bar data and Run market replay recorder on instrument level?
|
|
|
|
|
|
#6 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
It is possible. Most computers nowadays are powerful enough and have no issue with recording and storing at the same time. If you are seeing performance issues then you can consider turning one or the other off to improve performance.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#7 | |
|
Senior Member
Join Date: Feb 2008
Location: Paris
Posts: 713
Thanks: 10
Thanked 10 times in 7 posts
|
Quote:
Just because .NET manages the memory doesn't mean there can't be leaks. People think there are no leaks in Java but it's not true either. If object references are kept around then the memory cannot be freed. |
|
|
|
|
|
|
#8 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
There will be improvements to performance in NT7.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#9 |
|
Senior Member
Join Date: Jun 2008
Posts: 146
Thanks: 0
Thanked 0 times in 0 posts
|
Now I see it from Market Analyzer side: it sucks up 1Gb of RAM, then I close MA, and after it takes forever for NT to manage this action, memory is not released. Awaiting NT7
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|