memory leak
Hi there,
Finally I found someone that confirms that there might be a problem with the garbage collector.
I wrote windows services, that seems eat al the memory there is. Once alle memory is occupied, they keep working, the computer does nog crash, and garbage collection only start when some extra program is started that needs memory. After Stopping that extra program, an amount of memory seems to be released. I Assume that the GC has done that.
Since I have a service, I cannot minimize and remaximize as can be done with some windows forms application.
I have been studying "Dispose" and "Finilize" methods, but not all .Net framework classes seem to support that.
I also notice the more instances you create ( i = new object ) and release ( i = nothing ) withing the service, the faster the memory grabbing goes.
I centainly looking forward to hear from anybody in the field, that gets closer to some indication of what this mistery might be ...
Hi there,
Finally I found someone that confirms that there might be a problem with the garbage collector.
I wrote windows services, that seems eat al the memory there is. Once alle memory is occupied, they keep working, the computer does nog crash, and garbage collection only start when some extra program is started that needs memory. After Stopping that extra program, an amount of memory seems to be released. I Assume that the GC has done that.
Since I have a service, I cannot minimize and remaximize as can be done with some windows forms application.
I have been studying "Dispose" and "Finilize" methods, but not all .Net framework classes seem to support that.
I also notice the more instances you create ( i = new object ) and release ( i = nothing ) withing the service, the faster the memory grabbing goes.
I centainly looking forward to hear from anybody in the field, that gets closer to some indication of what this mistery might be ...