H
Helge C. Rutz
Hi,
we had strange memory usage / memory leak of our web application which we
could strip down to a (at least for us) unexpected behaviour of a dataset.
Scenario: With application start we open a dataset keeping a reference of
some datatables as long as the app runs. During this time we do regular
updates of these tables by changing the dataset and then passing it to the
dataadapter for update.
During update the dataadapter seems to build some help tables and/or
structures which are held as long as the dataset exists. Because this is
done for every update again and again, the allocated memory sums up to an
unacceptable amount.
Our first workaround is to regularly copy the dataset to free the old
dataset with all related memory.
Is this a known behaviour/bug?
We use framework 1.1. Is this maybe fixed with SP1?
Are there other workarounds for this?
best regards
Helge
we had strange memory usage / memory leak of our web application which we
could strip down to a (at least for us) unexpected behaviour of a dataset.
Scenario: With application start we open a dataset keeping a reference of
some datatables as long as the app runs. During this time we do regular
updates of these tables by changing the dataset and then passing it to the
dataadapter for update.
During update the dataadapter seems to build some help tables and/or
structures which are held as long as the dataset exists. Because this is
done for every update again and again, the allocated memory sums up to an
unacceptable amount.
Our first workaround is to regularly copy the dataset to free the old
dataset with all related memory.
Is this a known behaviour/bug?
We use framework 1.1. Is this maybe fixed with SP1?
Are there other workarounds for this?
best regards
Helge