Hi,
I'm having strange/performance?? issue with ADAM instance.
I'm using usn polling to sync my ADAM instance with AD. The polling
frequency is set to every 5 minutes to check for any changes and apply
if necessary. In my testing I change the usn value to low value so
that I can simulate full sync (simulate if DC is not responding) , now
when I do this and I retrieve the results from AD, and start cross
checking with ADAM if object exist it runs but then after checking
around 3,000 objects the ADAM instance then chokes and claims that
object does not exist in ADAM so code will try to add object which
does not work, because the objects are present in ADAM.
If I use at the same adsi edit and do quick query to lookup object
that works, even adfind utility gives me back the object.
I'm coding under vb.net 2003 using .NET 1.1.x
using standard methods directorySearcher, directoryEntry.
Memory
when simulating the full sync which checks around 150,000 user objects
and 30,000 computer objects the application exit with "Out of Memory"
if I cehck the process I can see it run up to 1,2 GB Ram. I've
included the .dispose on all applicable objects directorysearcher,
directoryentry, searchresultcollection I even perform the search query
recursive cn=a*; cn=b* ...... but to no avail, is this specific
to .Net 1.1x ?
Thx.


|