G
Guest
Hello,
I am wondering if it is a good idea to use GC.Collect() in a timer. For
example, timer is fired every 5 minutes and calls GC.Collect().
In our server app the memory goes to 600MB and stays there. The memory
hardly goes down. When I disconnect the client and the connect it again the
memory could reclaim to 400MB. But it could go down to 50 MB.
The reason that the memory goes that much high is that has to fill the
dataset with huge data.
thanks,
Mike
I am wondering if it is a good idea to use GC.Collect() in a timer. For
example, timer is fired every 5 minutes and calls GC.Collect().
In our server app the memory goes to 600MB and stays there. The memory
hardly goes down. When I disconnect the client and the connect it again the
memory could reclaim to 400MB. But it could go down to 50 MB.
The reason that the memory goes that much high is that has to fill the
dataset with huge data.
thanks,
Mike