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 Mindset, 04-21-2026, 06:46 AM
      0 responses
      105 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      146 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      71 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      125 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      79 views
      0 likes
      Last Post PaulMohn  
      Working...
      X