Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Releasing DataSets consumed memory
Message
From
09/05/2005 11:05:04
Keith Payne
Technical Marketing Solutions
Florida, United States
 
 
To
09/05/2005 02:18:37
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01012100
Message ID:
01012178
Views:
26
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform