Memory problem
- From: "S.Berwanger" <S.Berwanger@xxxxxxxxx>
- Date: Fri, 4 Nov 2005 00:12:27 +0100
Hallo all,
I have a problem with the memory management of the compact framework.
Without a obvious reason the VB.NET program uses more and more memory which
ends with a system stop because there is no more free memory.
My program has a global dataset. If these dataset has changed data it will
be created a new temporary dataset with a changed data for updating a
database. After the updating the temporary dataset is not further necessary
and should be distroyed automatically.
I have made a simple test program showing the same behaviour.
These program has a global dataset with some changed rows in a datatable.
Then it calls a function with checks the dataset for modifications and creat
a new dataset, copies the changed rows in these dataset and gives the new
dataset back. That's all. The temporary dataset will not be used further.
Because I do not call "accept changes" each check finds changed rows in the
global dataset.
For checking the dataset contents I use a timer event.
Has everyone a Idea what I can do agains the increasing of the used memory?
.
- Follow-Ups:
- Re: Memory problem
- From: Ilya Tumanov [MS]
- Re: Memory problem
- Prev by Date: SqlCeResultSet as DataSource?
- Next by Date: base exception class
- Previous by thread: SqlCeResultSet as DataSource?
- Next by thread: Re: Memory problem
- Index(es):
Relevant Pages
|