Yes, that would significantly increase memory usage. I have only ever done the *second* modification (BDB_IDL_LOGN) to fix the IDL issues. I've run that way for years.
How much have you increased the BDB_IDL_LOGN -> 2^17 or more, would be interesting for me, because we are nearly reach this size too.
Try dropping the modification to LDAP_PVT_THREAD_STACK_SIZE. It has never been necessary for any of my customers, many of whom have DBs with 6 to 10 million entries.
Ok, thanks, I'll do this and check.
Thanks Mike