Heavy Load OVD 10g Application Returns "Critical error while performing SEARCH java.lang.OutOfMemoryError"
(Doc ID 465627.1)
Last updated on OCTOBER 27, 2019
Applies to:
Oracle Virtual Directory - Version 10.1.4.2 and laterInformation in this document applies to any platform.
Symptoms
Errors are returned in an environment with a heavy load OVD application, which performs complex reiterative search operations. For example:
An Example of the application logic:
The OVD application, which has complex reiterative ldapsearches, does something like:
- The application sends a request with an ldapsearch command, which results in one big data result of about 31,000 entries. This is successful.
- The application creates a connection to an LDAP server
- It builds a request with a filter of cn=a*
- if the request fails (sizelimit exceeded)
- build a request with cn=aa*
then build a request with cn=ab*
If the request fails, it can build a request with cn=aba*, then abb*... - then build a request with cn=ac* ....
- Then build a request with cn=b* .....
- Do it for any combination recursively with all accepted characters for cn-values so as to overcome the sizelimit exceeded error
- During an application execution, chunks of 31,000 entries can be returned
- The application can be configured to return chunks of different sizes
When the application is run to return big chunks of data, or a mixed request with one big dataset and many small datasets per connection (or something similar), it receives a java memory error
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |