Memory leak by interrupted LDAP request
0 posts in topic
Flat View  Flat View

Posted By:   Anonymous
Posted On:   Thursday, August 3, 2006 05:29 AM

Hi !

I have an application where a thread doing an LDAP search request is
sometimes interrupted.

In this case, the search method throws an InterruptedNamingException which
is catched ( empty catch {} ) in my code.

Each time such an interruption occurs, objects like :

are staying in memory till the DirectoryContext is closed.
I dont want to close and open this context for each request.

Any hint how to avoid this ?

About | Sitemap | Contact