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 Haiasi, 04-25-2024, 06:53 PM
|
2 responses
17 views
0 likes
|
Last Post
by Massinisa
Today, 05:32 AM
|
||
Started by Creamers, Today, 05:32 AM
|
0 responses
5 views
0 likes
|
Last Post
by Creamers
Today, 05:32 AM
|
||
Net Change
by Segwin
Started by Segwin, 05-07-2018, 02:15 PM
|
12 responses
1,786 views
0 likes
|
Last Post
by Leafcutter
Today, 05:30 AM
|
||
Started by poplagelu, Today, 05:00 AM
|
0 responses
3 views
0 likes
|
Last Post
by poplagelu
Today, 05:00 AM
|
||
Started by fx.practic, 10-15-2013, 12:53 AM
|
5 responses
5,408 views
0 likes
|
Last Post
by Bidder
Today, 12:22 AM
|
Comment