Memory leak in Session on continues connect and disconnect

Hi,

TOracleSession seems to gain memory on subsiquent LogOn and LogOff.

I have created a timer which connects and disconnects the oracle session on each timer interval. While application is running, looking at Task Manager will revels that around 50KB of memory is added on every reconnection.

Any idea whether it is a bug or I have missed some thing.
 
Thanks Marco for the link.
I have gone through it, it is exactly what I was facing.

I will try to check it on Net 8i as well as 9i and then if problem still persist, I will contact you again.
 
Hi Marco,

we are also still facing memory leaks on continous connects / disconnects.
I already followed the other thread but it didn't help cause we're using OCI 9.2.0.1. Which patch set would you recommend? Do have good experiences with one of them?

kindly regards,

Matt
recommend? Currently we use 9.2.0.1.
 
I can't reproduce a logon/logoff memory leak on 9.2.0.1. Can you send me something to reproduce this?
 
Hello Marco,

I've meet the same Issue with V4.0.7.1
Also on OCI release 9.2.0.1
My test program is very simple :
OracleSession1->Connected=true;
OracleSession1->Connected=false;
in a 100ms timer

Just for information because I doesn't need it.
If I set ThreadSafe to true, it's worst because there's a big Handle leak also
 
Hello,

I've fixed the issue.
It's comming from Oracle OCI layer 9.2.0.1
To fix this problem you have to apply patchset.
I have applied the 9.2.0.7 and now there's no more memory leak.

Laurent
 
Back
Top