Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Releasing DataSets consumed memory
Message
De
09/05/2005 11:05:04
Keith Payne
Technical Marketing Solutions
Floride, États-Unis
 
 
À
09/05/2005 02:18:37
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01012100
Message ID:
01012178
Vues:
27
>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
Fil
Voir

Click here to load this message in the networking platform