Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

How to free the unused occupied memory?

$
0
0
I had opened the task manager, watching how the memory usage of my program changes as I work with it - and it was only ever going up. I thought using Dispose() will free up the memory, but apparently it doesn't. Just a notice here, the dispose method I'm calling is of a custom made control made by someone else. Then I wrote GC.Collect(); after the code I close the form which won't be used anymore, but this had an insignifficant effect.
So how can I free up the unused memory? Thanks in advance.

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>