Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to: empty page file / virtual memory once and a while ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to: empty page file / virtual memory once and a while ?

    Hi,

    I have noticed that the after every historic backtesting the amount of hard disk that has been used for testing increases. This means that if a certain backtesting increases the page file - virtual memory by lets say 100k, if I do the same test three times the disk will have increased by 300k. This makes computer slow, computer doesnt like that . I presume that this happens so that we can access older backtesting simulation that we did since we turned the application on. However, once I do another test, I can no longer access the results from any previous test other than the last one. Nevertheless, NT7 still retains that space on the disk.

    Two questions:
    - IMPORTANT: Is there a way to liberate that page file either through some option or through some programming order, other than having to restart the entire NT application after each time ?
    - (not so important) As I see that the computer holds the data, is there anyway to access them ? Right now I can only access the latest simulation data only.

    #2
    TakisTakis, this is unfortunately all controlled by the .NET framework garbage collection, so once objects / resources are released the cleanup would be handled automatically.

    If you use any custom resources, please ensure to dispose them properly in OnTermination() -

    Comment


      #3
      Thanks for your answer I will look at it!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      29 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, Yesterday, 02:41 AM
      0 responses
      13 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      21 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      38 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      34 views
      0 likes
      Last Post CarlTrading  
      Working...
      X