Handling memory problems in the adapter

During reconciliation requests, some directory servers return the entire search result in one chunk or page (for example, none paged search), which typically causes memory problems.

About this task

It might appear that the LDAP Adapter has a memory leak, but the adapter is processing the entries from the directory server while the server continues to add more entries.

If you are managing an IBM® Verify Server as your LDAP server, this is not an issue because the IBM Verify Server supports paging.

Note:

If you are managing an LDAP directory server other than IBM Verify Server, see the vender's directory server help for information regarding paged search. Additional IBM Verify Server information regarding memory problems are available on the Web in the IBM Security Directory Integrator Reference Guide.

Follow these steps to enable paged search:

Procedure

  1. Open the service.def file from the LdapProfile.jar archive.
  2. Locate the line containing name="ldapPageSize" and change the default value from 0 to 100. For more information on modifying LdapProfile.jar, see Customizing the adapter profile.