EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB486129: "The Search Engine encountered an error. Please see DSSErrors.log for detail." When rebuilding the Quick Search Index running on a x86 OS


Leopoldo Bebchuk

Associate Product Manager • MicroStrategy


A Java heap size higher than 1095M in a 32-bit operative system can cause the search index to break and be unable to rebuild.

Symptom


When running Strategy 2021 in a 32-bit operative system, sometimes the search index gets broken and rebuilding it with as per KB482892 doesn’t work. JAVA HEAP ERROR would indicate that the I-Server needs additional size. However, it is the opposite.
 

Steps to reproduce

  1. Go to the Windows registry:
    Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Strategy\JNI Bridge\Config for DataServices\32-bit JVM
  2. Set HeapMaxSize to 12288 MB.
  3. Restart the Windows machine.
  4. Try to rebuild the Quick Search indices:
    1. In Developer, in Folder View, go to Administration and expand System Monitors ==> Quick Search Indices
    2. Hit right mouse click on any index ==> Rebuild

Cause


According to Oracle, the maximum theoretical heap limit for the 32-bit JVM is 4 GB. But due to various additional constraints such as available swap, kernel address space usage, memory fragmentation, and VM overhead, in practice the limit can be much lower. On most modern 32-bit Windows systems the maximum heap size will range from 1.4 GB to 1.6 GB. The search index is limited to a little less than that.
 

Action


The highest maximum heap size value that has been observed to work is 1095 MB. Any value above it may break the search engine. Set the heap size to 1095MB or less.
 


Comment

0 comments

Details

Knowledge Article

Published:

July 14, 2023

Last Updated:

July 14, 2023