S
Sharon
Hi,
I currently have a web service method which connects to an
Oracle database using ODP.Net. I am seeing connections
being held open for longer than I would expect them to be -
there seems to be some sort of handle left there when
everything else is done. I am seeing the
connections reach the set max pool size then give an
error. I then have to wait for garbage collection to run
(approx. ten minutes) before these handles are closed and
the connections are freed up. I've implemented a
workaround for this, whereby I force garbage collection
every time the web service is consumed (using gc.collect),
but this is not an ideal solution. If you have any
suggestions on how to get round this, I'd love to hear
them.
Thanks,
Sharon
I currently have a web service method which connects to an
Oracle database using ODP.Net. I am seeing connections
being held open for longer than I would expect them to be -
there seems to be some sort of handle left there when
everything else is done. I am seeing the
connections reach the set max pool size then give an
error. I then have to wait for garbage collection to run
(approx. ten minutes) before these handles are closed and
the connections are freed up. I've implemented a
workaround for this, whereby I force garbage collection
every time the web service is consumed (using gc.collect),
but this is not an ideal solution. If you have any
suggestions on how to get round this, I'd love to hear
them.
Thanks,
Sharon