NexusFi: Find Your Edge


Home Menu

 





Ninja 6.5 largeaddressaware hack


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Big Mike with 9 posts (4 thanks)
    2. looks_two sam028 with 9 posts (9 thanks)
    3. looks_3 trumpy with 4 posts (0 thanks)
    4. looks_4 gv1150 with 3 posts (0 thanks)
      Best Posters
    1. looks_one roonius with 1.5 thanks per post
    2. looks_two sam028 with 1 thanks per post
    3. looks_3 445NDO with 1 thanks per post
    4. looks_4 Big Mike with 0.4 thanks per post
    1. trending_up 24,811 views
    2. thumb_up 18 thanks given
    3. group 22 followers
    1. forum 50 posts
    2. attach_file 7 attachments




Closed Thread
 
Search this Thread

Ninja 6.5 largeaddressaware hack

  #1 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,322 since Jun 2009
Thanks Given: 33,143
Thanks Received: 101,476

There is an unsupported (don't even think about asking for help) hack for Ninja 6.5 if you are constantly running out of memory due to the .NET memory limitations (Ninja crashes around 1.5GB of memory use).

The hack requires:
- Expert technical knowledge
- Visual Studio installed
- x64 version of Windows
- 4GB of memory minimum
- Your understanding it is not supported at all

I've been running this for over a month. Prior to the hack I crashed ten times a day because I was always pushing Ninja so hard for backtesting and strategy development. After the hack I've crashed maybe once or twice in a month.

Directions:
0. Backup your ninjatrader.exe first.
1. Start menu -> Visual Studio group -> Visual Studio Command Prompt.
2. cd <NT install folder, ie c:\program files x86\ninjatrader 6.5> \bin
3. editbin /largeaddressaware NinjaTrader.exe

That's it. If you download a new version of NT you'll need to re-apply the hack. You can disable it by issuing editbin /largeaddressaware:no NinjaTrader.exe.

Also keep in mind NT7 will include this by default, plus so much more in terms of improved memory management. So don't even think about this hack unless you are experiencing constant crashes that you know to be directly related to OutOfMemory exceptions.

Mike

Follow me on Twitter Visit my NexusFi Trade Journal Started this thread
The following 2 users say Thank You to Big Mike for this post:

Can you help answer these questions
from other members on NexusFi?
NexusFi Journal Challenge - April 2024
Feedback and Announcements
ZombieSqueeze
Platforms and Indicators
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
Request for MACD with option to use different MAs for fa …
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Retail Trading As An Industry
67 thanks
NexusFi site changelog and issues/problem reporting
47 thanks
Battlestations: Show us your trading desks!
43 thanks
GFIs1 1 DAX trade per day journal
32 thanks
What percentage per day is possible? [Poll]
31 thanks

  #2 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,322 since Jun 2009
Thanks Given: 33,143
Thanks Received: 101,476

Here is a pre-hacked ninjatrader.exe file, this is 6.5.1000.10 only.

Again EXTREME CAUTION if you aren't an EXPERT don't even think about applying. I shouldn't need to tell you it's unsupported, and make a backup first. If it eats your computer I won't help.

sam028 confirmed it works for him

Mike

Attached Files
Elite Membership required to download: ninjatrader-large-address-aware-hack-6-5-1000-10.rar
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread
  #3 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,761 since Jun 2009
Thanks Given: 3,824
Thanks Received: 4,629


Same one for 6.5.1000.11

Attached Files
Elite Membership required to download: NinjaTrader-large-address-aware-hack-6-5-1000-11.rar
Follow me on Twitter
The following user says Thank You to sam028 for this post:
  #4 (permalink)
borg7of17
Australia
 
Posts: 1 since Aug 2009
Thanks Given: 0
Thanks Received: 0

Thanks for this great tip !

  #5 (permalink)
 
roonius's Avatar
 roonius   is a Vendor
 
Posts: 131 since Jun 2009
Thanks Given: 20
Thanks Received: 295

And for 6.5.1000.12

Attached Files
Elite Membership required to download: NinjaTrader6-5-1000-12.zip
The following 3 users say Thank You to roonius for this post:
  #6 (permalink)
 roadshow 
Asia
 
Experience: Intermediate
Platform: NinjaTrader
Posts: 45 since Jun 2009
Thanks Given: 30
Thanks Received: 2

only use for memory >=1.5GB ?

  #7 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,761 since Jun 2009
Thanks Given: 3,824
Thanks Received: 4,629


roadshow View Post
only use for memory >=1.5GB ?

It's only useful if your NT crash, while it tries to use more than 1.5gb, which happens with large/complex backtests.

Follow me on Twitter
  #8 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,322 since Jun 2009
Thanks Given: 33,143
Thanks Received: 101,476


roadshow View Post
only use for memory >=1.5GB ?

Your system must have 4GB of memory minimum to use this hack and be x64 not x86.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread
  #9 (permalink)
 
tellytub's Avatar
 tellytub 
london uk
 
Experience: Beginner
Platform: NinjaTrader
Broker: Zen-Fire
Trading: Stocks
Posts: 410 since Jun 2009
Thanks Given: 333
Thanks Received: 121

Does having vista make any difference to NT?

I have a quad code 4GB of ram and Windows XP

  #10 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,322 since Jun 2009
Thanks Given: 33,143
Thanks Received: 101,476



tellytub View Post
Does having vista make any difference to NT?

I have a quad code 4GB of ram and Windows XP

No, although you should skip Vista and upgrade to Seven.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread

Closed Thread




Last Updated on June 30, 2012


© 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