M
Marius Horak
Hi,
I have a window program (C#) with 2 buttons, 2 labels and timer running
under Win2K (DotNet 1.1).
On Tick (every 30 mins) it will execute a procedure that reads a number of
files and add records to a database.
Before it finishes SqlDataReader and Connection I are being closed.
There are no global varaibles. All is inside that procedure. The Tick method
has 3 commands - disable timer, execute procedure, enable timer. When
started, the TaskManagers shows that the program uses about 6MB. Each time
the procedure is executed it adds 1.2MB.
Why? I was under impression that all memory used inside procedure is
released after it finishes.
Thanks
MH
I have a window program (C#) with 2 buttons, 2 labels and timer running
under Win2K (DotNet 1.1).
On Tick (every 30 mins) it will execute a procedure that reads a number of
files and add records to a database.
Before it finishes SqlDataReader and Connection I are being closed.
There are no global varaibles. All is inside that procedure. The Tick method
has 3 commands - disable timer, execute procedure, enable timer. When
started, the TaskManagers shows that the program uses about 6MB. Each time
the procedure is executed it adds 1.2MB.
Why? I was under impression that all memory used inside procedure is
released after it finishes.
Thanks
MH