I have a WPF (.Net 3.5 sp1) application that loads a bunch of data on start up (it takes a few seconds to start up) but it performs fine after the data is loaded.
While the app is running, if I don't touch it for some time (say, a few hours), and then I alternate to it, it then "wakes up" very slowly.
My questions:
1) Why is that? Is that because .Net deallocates the large data I load from memory and it has to somehow recover that?
2) What can I do in my app to prevent this behavior even if I know I would be sequestering memory until the app is finalized?
Thanks