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 argusthome, 03-08-2026, 10:06 AM
      0 responses
      80 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      46 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      29 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      32 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      66 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X