Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
out of memory
Collapse
X
-
out of memory
When i run my strategy on 7.22 using StratAnalyzer and only a few days of lookback, it completes, but when i shift to 10 or 20 days it crashes b/c of Out of Memory. What kind of debugging tools are useful for finding where the memory is getting sucked up? Other than just eliminating sections of code. (eg Print Memory Use?)Tags: None
-
Hello ssylwester,
Thank you for your post
So that I can see what might be taking place in the background, please send us your log & trace files for today.
You can find these in your (My) Documents folder at the file path:
1. NinjaTrader 7 > Trace > trace.YYYYMMDD.txt
2. NinjaTrader 7 > Log > log.YYYYMMDD.txt
(see screenshots for examples)
Just attach these text (.txt) files to an email and send to support AT ninjatrader DOT com.
Thank you,ChipNinjaTrader Customer Service
-
Chip .. thanks much for rapid response.
I think i may have found the problem. I was calling/referenceing a new object, but in the OnBarUpdate area. It would not let me do it in the Initialize() area. But i found out about hte onStartUp() area, and that seems to have worked.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
81 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
42 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
64 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
66 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
54 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment