I am developing a software using C# 2.0 which uses about 200MB of memory and occasionally high CPU. The problem is, when i am leaving my machine idle for about 20-30 mins with the application running, after i come back and try to use the application, it freezes for about 2 mins, then becomes interactive.
Why does this happen? Is there any way to avoid this?
Thank you all.
Regards,
-Rakib
Just a wild guess, but perhaps your app’s memory pages are getting swapped out when its idle, and back in when you resume.
Either that or your UI thread is blocking on something. We’d need more details to really diagnose.