G
Guest
Hello
I use a windows service with a system.timer
Every 10 secondes, it opens a oracle table with a datareader (with 0 or 10 lines) and execute POST HTTP queries
So, the service start with 10 Mo of memory used
After 65 HTTP posts (static function) it grows to 25 Mo.
And every day, it takes 1 Mo of memory
Here is the code inside finally block
finall
if (read != null
read.Close ()
read.Dispose ()
// relaunch the time
my_timer .Start ()
So, Is it normal
I do not think about memory leaks, i use Exception application block and data application block from MS..
and the code is very light .
How to manage memory of windows service ? Is there a way to recycle it like ASPNET_WP.exe
Thanks
JL
I use a windows service with a system.timer
Every 10 secondes, it opens a oracle table with a datareader (with 0 or 10 lines) and execute POST HTTP queries
So, the service start with 10 Mo of memory used
After 65 HTTP posts (static function) it grows to 25 Mo.
And every day, it takes 1 Mo of memory
Here is the code inside finally block
finall
if (read != null
read.Close ()
read.Dispose ()
// relaunch the time
my_timer .Start ()
So, Is it normal
I do not think about memory leaks, i use Exception application block and data application block from MS..
and the code is very light .
How to manage memory of windows service ? Is there a way to recycle it like ASPNET_WP.exe
Thanks
JL