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 Hwop38, 05-04-2026, 07:02 PM
|
0 responses
154 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
307 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
244 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
345 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
176 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|

Comment