>Hi Guys,
>
>Is it possible in C# to programatically release the consumed memory of a dataset onces it is no longer in use...
>
>thanks in advance...
Mike,
The only direct control that you have in C# is to mark them for disposal by calling the dispose method.
If you really want to free the memory used by the dataset, you have to tell the garbage collector to flush its entire collection. This can be very expensive resource-wise and affects all CLR applications that are running on the server at the time.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement