[LDAP] Memory Leak

Forge Component
(16)
Published on 2014-11-24 by Filipe Jacinto
16 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.

https://msdn.microsoft.com/en-us/library/system.directoryservices.directorysearcher.findall(v=vs.110).aspx

Hi Rebecca,

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

Cheers,
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