My singleton server object has a method that creates and
returns a big dataset to a client application.
Although the server doesn't have any reference to dataset
after returned it, the server memory grows and doesn't
reduce.
I think that after the Return statement the memory would
reduce because the server doesn't have a reference to
dataset anymore.
What would I do to reduce the server memory after returned
the dataset?
IGor - 29 Aug 2003 12:15 GMT
If you are using .Net Framework 1.0 then you could be one more victim of
Large objects memory allocation bug.
In short:
Once used large objects memory is newer returned to the system.
For long running applications which uses lot of large objects chances are
good to get out of memory exception.
.Net Framework 1.1 should solve problem.
If you are using .Net Framework 1.1 once after GC runs memory shold be
returned to the system.
> My singleton server object has a method that creates and
> returns a big dataset to a client application.
[quoted text clipped - 6 lines]
> What would I do to reduce the server memory after returned
> the dataset?