From: Graham Barr <gbarr@po...> - 2001-03-14 13:25:29
----- Forwarded message from Christoph Neumann <enigma@...> -----
Date: Tue, 13 Mar 2001 20:24:07 -0800 (PST)
To: Graham Barr <gbarr@...>
From: Christoph Neumann <enigma@...>
Subject: Net::LDAP Idea
I'm a developer at Azusa Pacific University. We are using the Net::LDAP
library. I think the API is quite well laid out and well designed. You
have good documentation too.
However, I noticed one issue with the library. We have a large directories
of user information. Sometimes I need to pull about 5000 entries out of
LDAP at once. I noticed that the script would slowly grow to about 120+ MB
of RAM. I tried using a callback to see if the search function does not
allocate memory to the internal buffer in that case, but I noticed that it
still does. I then check the code for searching function and noticed that
is will always add each entry to the internal list.
Here is a suggesstion...
Allow the user to set a flag specifying whether or not they want to keep a
list of all the returned entries in the internal array. This is good for
processing huge amounts of data (100's of MBs). The callback can handle
each data item as it comes and then search function can just throw the data
I wanted to see what you think since you developed the code and understand
it the best. I would be willing to contribute some time to implementing
the feature if necessary.
----- End forwarded message -----
Get latest updates about Open Source Projects, Conferences and News.