I have done some tests with 80 000 entries in the server (ok not a big
entry but anyway).
The entry is like :
dn: cn=testNNNNN,dc=example,dc=com
ObjectClass: top
ObjectClass: person
sn: testNNNN
cn: test
where NNNN varies from 1 to 80000
Doing such a search :
baseDN : dc=example,dc=com
filter : "(sn=test123*)"
scope : SUBTREE
returns 111 entries in 166 milliseconds once I have set the SN index.
If the SN index is not set, then the search does take several minutes too.
I would suggest you reinject all the entries in the server with the new
jars.
I'm investigating the OOM error on my side.
--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com