NinjaTrader Support Forum  
X

Attention!

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


Go Back   NinjaTrader Support Forum > Application Technical Support > Connecting

Connecting Support for establishing connections to your broker or market data service provider.

Reply
 
Thread Tools Display Modes
Old 10-17-2008, 09:02 AM   #1
Philipk
Junior Member
 
Join Date: Oct 2008
Posts: 2
Thanks: 0
Thanked 0 times in 0 posts
Default ninja using too much memory (MB Trading)

Hello all,

I just registered and was hoping I could get some advice. I've been working with support on an issue I'm having when connected to MB Trading. The ninja charts application is crashing because of a memory error. My PC has 2 GB RAM which should be plenty.

Does anyone know about this issue, is there any way around this?
After a lot of communication with support (I appreciate their diligent help) I'm being told to use ninja without navigator, however there is no way for me to place orders this way. What are my options?

thanks very much
Philipk is offline  
Reply With Quote
Old 10-17-2008, 09:27 AM   #2
NinjaTrader_Ben
NinjaTrader Customer Service
 
NinjaTrader_Ben's Avatar
 
Join Date: May 2008
Location: Denver, CO
Posts: 3,157
Thanks: 0
Thanked 3 times in 3 posts
Default

Hello,

What do you mean when you say:
"I'm being told to use ninja without navigator"

What is the first name of the support person you are working with?
NinjaTrader_Ben is offline  
Reply With Quote
Old 10-17-2008, 09:43 AM   #3
Philipk
Junior Member
 
Join Date: Oct 2008
Posts: 2
Thanks: 0
Thanked 0 times in 0 posts
Default

thanks for the response

It's Jason and he has been great in helping me.

What I was referring to is the way the connection to MB is set, I believe on the last step on the connection wizard there is a check box to enable the Navigator window upon connecting. It didn't crash when we tried without the Navigator window, however I wouldn't have a way to place orders without the Navigator window.

The trace files say "....out of memory.........." Apparently at some point all of my 2GB RAM is being used. Also this happens after working for a while. It does not crash right away
Philipk is offline  
Reply With Quote
Old 10-21-2008, 11:53 AM   #4
chartlearner
Member
 
Join Date: Apr 2008
Posts: 64
Thanks: 0
Thanked 0 times in 0 posts
Default

I have something to add to this thread. I have no issue with performance, however when I check the processes, NT is using 220,508k of ram with just a dom open! That seems awfully high.
chartlearner is offline  
Reply With Quote
Old 10-21-2008, 01:49 PM   #5
mrlogik
Certified NinjaScript Consultant
 
mrlogik's Avatar
 
Join Date: Sep 2006
Location: New York, USA
Posts: 774
Thanks: 1
Thanked 7 times in 5 posts
Default

how much data do you have loaded?
How many indicators?

I have many charts loaded with indicators and only use 700MB of ram using windows xp.

You don't need to open the Navigator to load / connect to MB. You can do everything through NT.
"You look closely enough, you can find everything has a ... weak spot where it can break, sooner or later"

PureLogikTrading
mrlogik is offline  
Reply With Quote
Old 10-22-2008, 04:35 AM   #6
NinjaTrader_Jason
NinjaTrader Customer Service
 
NinjaTrader_Jason's Avatar
 
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,234
Thanks: 83
Thanked 336 times in 328 posts
Default

Could you check if you are running any workspaces in the background that will request memory as well. Please go to File-->Workspaces and check how many workspaces are listed below "Save Workspace As".

If you are running any workspaces in the background, please select them and close them via File-->Workspaces-->Close Workspace.
NinjaTrader_Jason is offline  
Reply With Quote
Old 10-22-2008, 08:21 AM   #7
chartlearner
Member
 
Join Date: Apr 2008
Posts: 64
Thanks: 0
Thanked 0 times in 0 posts
Default

I have no workspaces running besides the one i have open. The weird part imo is that when I close all charts and have just a dom the memory usage is still 200,000k plus
chartlearner is offline  
Reply With Quote
Old 10-22-2008, 08:37 AM   #8
NinjaTrader_Jason
NinjaTrader Customer Service
 
NinjaTrader_Jason's Avatar
 
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,234
Thanks: 83
Thanked 336 times in 328 posts
Default

Can you please check the size of the NinjaTrader database. Please go to My Documents-->NinjaTrader 6.5-->db and tell me the size of the NinjaTrader.mdb file.

In addition, please ensure you only have "Order" and "Connect" enabled under the Diagnostics-tab.
NinjaTrader_Jason is offline  
Reply With Quote
Old 10-22-2008, 08:56 AM   #9
chartlearner
Member
 
Join Date: Apr 2008
Posts: 64
Thanks: 0
Thanked 0 times in 0 posts
Default

under nt 6.5 there are 2 mdb files one says nt.old that is 224,536 kb and the other is nt 232,104 kb
chartlearner is offline  
Reply With Quote
Old 10-22-2008, 08:58 AM   #10
chartlearner
Member
 
Join Date: Apr 2008
Posts: 64
Thanks: 0
Thanked 0 times in 0 posts
Default

also, where do i find that diagnostics tab?
chartlearner is offline  
Reply With Quote
Old 10-22-2008, 09:00 AM   #11
NinjaTrader_Jason
NinjaTrader Customer Service
 
NinjaTrader_Jason's Avatar
 
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,234
Thanks: 83
Thanked 336 times in 328 posts
Default

Disregard the Diagnostics-tab for now. You database is quite large and most likely related to the RAM usage.

I suggest to rename your database.

Please go to My Documents-->NinjaTrader 6.5-->db and rename the NinjaTrader.mdb file to OldNinjaTrader.mdb. Start NinjaTrader (a fresh new database is created) and check if the RAM usage is still that high when only having a SuperDOM opened.
NinjaTrader_Jason is offline  
Reply With Quote
Old 10-22-2008, 09:20 AM   #12
chartlearner
Member
 
Join Date: Apr 2008
Posts: 64
Thanks: 0
Thanked 0 times in 0 posts
Default

I will try that, But can u let me know what the mem usage should be on just a dom?
chartlearner is offline  
Reply With Quote
Old 10-22-2008, 11:04 AM   #13
NinjaTrader_Jason
NinjaTrader Customer Service
 
NinjaTrader_Jason's Avatar
 
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,234
Thanks: 83
Thanked 336 times in 328 posts
Default

Unfortunately, there is no standard answer; this depends on other aspects as well.

I tested this setup on my end and it used around 45,000 Kb.
NinjaTrader_Jason is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FOREX trading using Ninja sam ATM Strategies (Discretionary Trading) 20 12-24-2009 06:05 AM
Ninja Memory goes sky high and goes bang on Strategy add ct Strategy Development 4 09-11-2008 08:07 AM
trading SPY on Ninja, who to use for broker? Tasuki Miscellaneous Support 3 02-15-2008 01:25 AM
Ninja via FuturePath Trading ATI user Connecting 1 10-05-2007 04:19 PM
Ninja Needs ~ Performance Memory CashFlow Suggestions And Feedback 0 01-25-2006 02:37 PM


All times are GMT -6. The time now is 03:18 PM.