When performing different actions in MSTR Web, an error like this listed may be displayed:
"An exception occurred in the underlying search engine: Command SESuggesterGetSecureSuggestions; threw BaseException: A Java Exception: java.lang.OutOfMemoryError: Requested array size exceeds VM limit”
The principal cause of this errors is a Memory Leak in Java code. In Java, a memory leak occurs when object references that are no longer needed are unnecessarily maintained.
This error indicates that the application attempted to allocate an array that is larger than the heap size. For example, if an application attempts to allocate an array of 512MB but the maximum heap size is 256MB, then an Out of Memory will be thrown with this error message. In most cases, the problem is either a configuration issue or a bug that results when an application attempts to allocate a massive array. Therefore, the error is thrown when there’s insufficient space to request the array that exceeds the limits.
To resolve this error, it will be necessary to modify the heap size.

NOTE: Please be cautious when modifying the registry values. All the changes done in the registry are done considering the user environment characteristics and the manipulation is at user’s risk. We recommend performing a registry backup or an Emergency Disk Repair update before modifying the registry. Since these are user-initiated changes, they are not covered by any Strategy warranty.