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 DannyP96, 05-18-2026, 02:38 PM
      1 response
      27 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      117 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 05-10-2026, 08:12 PM
      0 responses
      69 views
      0 likes
      Last Post CarlTrading  
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      226 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      415 views
      0 likes
      Last Post CaptainJack  
      Working...
      X