G
Guest
Hi,
I am manipualting a set of tables in memory without any backend database.
I am building a join table from three other tables and I have no problems until I delete rows.
At that point, when I attempt to rebuild the join table, for every row added around 500K of RAM is allocated and nothing is ever garbage collected. However, if I "AcceptChanges" on my DataSet, then the problem goes away?!?
Again, I have no problems when inserting or updating rows. The join table is built without excess RAM being used.
It's only when delete a row that all of a sudden RAM is being allocated until I run out.
Has anyone experience this problem?
If I accept changes the problem goes away, but the fact is I would like to not have to accept changes since the user has not really accepted changes yet in our application.
Thanks,
Eric.
I am manipualting a set of tables in memory without any backend database.
I am building a join table from three other tables and I have no problems until I delete rows.
At that point, when I attempt to rebuild the join table, for every row added around 500K of RAM is allocated and nothing is ever garbage collected. However, if I "AcceptChanges" on my DataSet, then the problem goes away?!?
Again, I have no problems when inserting or updating rows. The join table is built without excess RAM being used.
It's only when delete a row that all of a sudden RAM is being allocated until I run out.
Has anyone experience this problem?
If I accept changes the problem goes away, but the fact is I would like to not have to accept changes since the user has not really accepted changes yet in our application.
Thanks,
Eric.