NexusFi: Find Your Edge


Home Menu

 





OutofMemoryException Error


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one eone with 2 posts (0 thanks)
    2. looks_two Trader.Jon with 1 posts (0 thanks)
    3. looks_3 anniebee321 with 1 posts (0 thanks)
    4. looks_4 Fat Tails with 1 posts (0 thanks)
    1. trending_up 2,885 views
    2. thumb_up 0 thanks given
    3. group 4 followers
    1. forum 6 posts
    2. attach_file 0 attachments




 
Search this Thread

OutofMemoryException Error

  #1 (permalink)
 eone 
Toronto, ON
 
Experience: Beginner
Platform: NinjaTrader
Posts: 108 since Sep 2009
Thanks Given: 32
Thanks Received: 28

How to resolve this problem? - ERROR: Failed to call 'Add' method for period type 'Tick': Exception of type 'System.OutOfMemoryException' was thrown. I am using 6.5

Much appreciated. Thank you

Started this thread Reply With Quote

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

  #3 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102



eone View Post
How to resolve this problem? - ERROR: Failed to call 'Add' method for period type 'Tick': Exception of type 'System.OutOfMemoryException' was thrown. I am using 6.5

Much appreciated. Thank you

First have a look at the trace file. It should tell you something about the offensive indicator or strategy.

If you look for an answer from us, we would need more information. Which datafeed do you use? Which indicator or strategy caused the problem? What was the lookback period of your tick chart? Which was the instrument? How many other indicators were on your chart? How much RAM has your PC?

Reply With Quote
  #4 (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


eone View Post
How to resolve this problem? - ERROR: Failed to call 'Add' method for period type 'Tick': Exception of type 'System.OutOfMemoryException' was thrown. I am using 6.5

Much appreciated. Thank you

Solutions:
- Use the large address aware patch for NT 6.5 if you can
- Switch to NT7
- Use less lookback data

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 Reply With Quote
  #5 (permalink)
 eone 
Toronto, ON
 
Experience: Beginner
Platform: NinjaTrader
Posts: 108 since Sep 2009
Thanks Given: 32
Thanks Received: 28


Fat Tails View Post
First have a look at the trace file. It should tell you something about the offensive indicator or strategy.

If you look for an answer from us, we would need more information. Which datafeed do you use? Which indicator or strategy caused the problem? What was the lookback period of your tick chart? Which was the instrument? How many other indicators were on your chart? How much RAM has your PC?

Thanks Fat Tails. I should have provided more information to start with. I was not having this issue ever it is only since past month that I have this issue. I was trying the elimination route to isolate the issue since I thought something else on my laptop could be causing this. I tested by using a naked chart with 15 day period look up using 4 Renko (previously I used to have 4 similar charts with 5-6 indicators on each). I suspect ever since I upgraded to the latest service pack that I have been having this issue. There is no issue with RAM or any other factor. I checked the trace file and could not get any material information over the issue.

Thank you,

eOne

Started this thread Reply With Quote
  #6 (permalink)
 anniebee321 
london
 
Experience: Beginner
Platform: ninja
Trading: fgbl
Posts: 138 since Nov 2009
Thanks Given: 64
Thanks Received: 44

forgive me if this is not remotely the problem -- but i have had similiar error when
programming and the code is run and it has hit a division by zero which it cannot cope
with.... are you running a strategy/indicator that you need to debug?

Reply With Quote
  #7 (permalink)
 
Trader.Jon's Avatar
 Trader.Jon 
Near the BEuTiFULL Horse Shoe
 
Experience: Beginner
Platform: NinjaTrader
Broker: MBTrading Dukascopy ZenFire
Trading: $EURUSD when it is trending
Posts: 473 since Jul 2009
Thanks Given: 401
Thanks Received: 184


eone View Post
.... I was not having this issue ever it is only since past month that I have this issue. ...I suspect ever since I upgraded to the latest service pack that I have been having this issue. ...
Thank you,

eOne

Any possibility of a virus/rootkit/ or other process taking up a lot of resources?

TJ

Reply With Quote





Last Updated on October 10, 2010


© 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