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() -

    BertrandNinjaTrader Customer Service

    Comment


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

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mestor, 03-10-2023, 01:50 AM
      16 responses
      389 views
      0 likes
      Last Post z.franck  
      Started by rtwave, 04-12-2024, 09:30 AM
      4 responses
      31 views
      0 likes
      Last Post rtwave
      by rtwave
       
      Started by yertle, Yesterday, 08:38 AM
      7 responses
      29 views
      0 likes
      Last Post yertle
      by yertle
       
      Started by bmartz, 03-12-2024, 06:12 AM
      2 responses
      23 views
      0 likes
      Last Post bmartz
      by bmartz
       
      Started by funk10101, Today, 12:02 AM
      0 responses
      7 views
      0 likes
      Last Post funk10101  
      Working...
      X