Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Memory not unloading after aborting strategy analyzer
Collapse
X
-
Memory not unloading after aborting strategy analyzer
After aborting a Strategy analyzer run on NT 8.1.2.1, NT8 is still consuming 29gb+ of memory with nothing going on. I have a couple strategies on the list but not enabled, no active data connections, no additional workspaces open, a single empty chart, and a NinjaScript Editor window open.Tags: None
-
64gb is all the laptop can handle. The background programs I have running occupy 5gb or less. This was the first optimization since starting NT8.
One would think it could offload results to the hard drive rather than retaining them in RAM where it could overload.
Comment
-
It's a known issue with the analyzer. 64GB is enough. NT can utilize all the available RAM, so buying more RAM won't help. Personally I restart NT when it consumes 80-90% of RAM. It's the best workaround. There have been feature request to enable calling the garbage collector within the strategy. Maybe our children will see its implementationLast edited by Leeroy_Jenkins; 01-28-2024, 08:57 AM.
- Likes 2
Comment
-
Hello Conzeptzx,
Thank you for your post.
Aborting the backtest can take a significant amount of time, and it often takes longer for the garbage collection to start freeing up the memory.
As Leeroy_Jenkins mentioned, if your computer's memory runs out and it starts paging it will take a very long time for all operations to finish and for enough memory to marked for garbage collection that the system stops paging, before the garbage collection can work at normal speed.
Please let us know if you have any other questions. Gaby V.NinjaTrader Customer Service
Comment
-
Originally posted by Leeroy_Jenkins View PostIt's a known issue with the analyzer. 64GB is enough. NT can utilize all the available RAM, so buying more RAM won't help. Personally I restart NT when it consumes 80-90% of RAM. It's the best workaround. There have been feature request to enable calling the garbage collector within the strategy. Maybe our children will see its implementation
- Likes 1
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by KonAdams, Today, 10:53 PM
|
0 responses
1 view
0 likes
|
Last Post
by KonAdams
Today, 10:53 PM
|
||
Started by JGriff5646, Today, 10:02 PM
|
0 responses
9 views
0 likes
|
Last Post
by JGriff5646
Today, 10:02 PM
|
||
Started by AdamDJ8, Today, 09:18 PM
|
0 responses
5 views
0 likes
|
Last Post
by AdamDJ8
Today, 09:18 PM
|
||
Started by knowmad, Today, 03:52 AM
|
2 responses
33 views
0 likes
|
Last Post
by knowmad
Today, 09:03 PM
|
||
Started by ETFVoyageur, Today, 07:05 PM
|
0 responses
11 views
0 likes
|
Last Post
by ETFVoyageur
Today, 07:05 PM
|
Comment