[LDAP] Memory Leak

[LDAP] Memory Leak

Forge Component
Published on 2014-11-24 by Filipe Jacinto
15 votes
Published on 2014-11-24 by Filipe Jacinto
There is a known issue with DirectorySearcher where a memory leak is caused if you don't dispose of the objects manually.  I found that there are places in the code where this isn't being done.  When we do a lot of testing with the LDAP methods, our server gets slower and slower.  Once these objects are disposed of properly this isn't a problem.


Hi Rebecca,

  Sorry for the late response. We will implement the dispose method to prevent memory leaks.
 Thanks for the feedback

André Pereira
Hi Rebecca!
We just uploaded a new version of this component with the memory leaks issue fixed for both J2EE and .NET codes.
Thank you for your feedback. It's important to us!
Best Regards,
Filipe Jacinto