![]() |
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
|
|||||||
| Suggestions And Feedback New feature suggestions and feedback. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Oct 2008
Posts: 20
Thanks: 0
Thanked 0 times in 0 posts
|
Hi there!
after running an Optimization (Default or GAOptimizer, whatever), I see in my windows task manager that Ninjatrader has many RAM allocated. It looks like after the optimization, NT does not deallocate memory.... is this a normal behavior, or a memory leak? Regards |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: May 2008
Location: Denver, CO
Posts: 3,157
Thanks: 0
Thanked 3 times in 3 posts
|
Hello,
Try optimizing SampleMACrossOver, do you get the same results? How much RAM is being used?
Ben
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Oct 2008
Posts: 20
Thanks: 0
Thanked 0 times in 0 posts
|
before SampleMACrossOver optimization: 987.744KB
after 3 optimizations (parameter optimized: Fast Stoch): 995.084KB (even with the Strategy Analizer window closed) Optimization period: 6/11/2008 -> 11/11/2008 Optimization timeframe: 5 minutes Regards |
|
|
|
|
|
#4 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
magicboiz,
Memory release is managed by the .NET framework so whenever .NET decides to release the resources it will do that. NT7 will bring improvements in this area though.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Oct 2008
Posts: 20
Thanks: 0
Thanked 0 times in 0 posts
|
Until NT7 see the daylight, walk forward is almost impossible. I always get "System.OutOfMemoryException".
My machine has 3Gb, and I'm going to buy 1Gb extra.... but...... do you know if .NET framework has any procedure to force memory deallocation? |
|
|
|
|
|
#6 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
Unfortunately that is beyond the level of support we can offer. Make sure you release all objects you use internally. If you created your own objects and things please remember to use the Dispose() method. If you are not sure if you created your own things you most likely did not. That is all we can suggest at this point in time. Thank you for your patience.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#7 | |
|
Junior Member
Join Date: Oct 2008
Posts: 20
Thanks: 0
Thanked 0 times in 0 posts
|
you're right, i didn't program nothing beyond the wizard and little else....
Quote:
|
|
|
|
|
|
|
#8 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
Here are some performance tips: http://www.ninjatrader-support.com/H...rformanceTips1
Decreasing the amount of days you are testing on may help positively too.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#9 | |
|
Junior Member
Join Date: Oct 2008
Posts: 20
Thanks: 0
Thanked 0 times in 0 posts
|
Update!!!:
The problem arises when the optimizer optimzes on metric "my system quality number" instead of "max.profit factor" or "max net profit" or whatever metric you packed in the standard NT installation. So the problem, I think, is the SQN.cs Type spreaded in the forum: http://www.ninjatrader-support2.com/...&highlight=SQN Regards Quote:
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Memory Leak or poor garbage collection? | adrian | Miscellaneous Support | 8 | 04-19-2008 02:35 AM |
| Memory Leaks... | wayneFH | Historical NinjaTrader 6.5 Beta Threads | 6 | 03-31-2008 11:01 AM |
| Memory Leak/Market Analyzer... | funk101 | Historical NinjaTrader 6.5 Beta Threads | 3 | 03-30-2008 11:47 PM |
| Urgent Memory Leak -- How to Reproduce | wayneFH | Historical NinjaTrader 6.5 Beta Threads | 8 | 03-28-2008 07:26 AM |
| Memory Leak? | NinjaTrader_Josh | Suggestions And Feedback | 10 | 08-06-2007 12:36 PM |