Using Quick Find with a 64-bit JRE
Quick Find uses the 32-bit Java Runtime Environment (JRE) supplied with Sage CRM. This limits the RAM available to the Quick Find service to approximately 1GB, which is sufficient for large Sage CRM databases (multiple tens of gigabytes).
You can use 64-bit JRE with the Quick Find service so the service can index more data.
Change to a 64-bit JRE with caution and only if memory-related issues occur with the Quick Find service.
- Install a 64-bit Java 8 JRE on the Sage CRM web server or another machine.
- Copy the contents of the JRE folder to a new folder called \CRM\Services\JRE\jre8x64. Ensure the path to the x64 Java.exe is \CRM\Services\JRE\jre8x64\bin\java.exe.
- Stop the Quick Find service if it's running.
- Navigate to \CRM\Services\QuickFind\bin and make a copy of SageCRMQuickFind-install-svc.cmd.
- Open SageCRMQuickFind-install-svc.cmd in a text editor.
- Change the following settings:
- PR_JAVA_HOME: Point this to the new JRE. For example, %CRM_SERVICES_DIR%\JRE\jre8x64.
- QUICKFIND_JVM: There is no client mode for the x86 JRE. Point this to %PR_JAVA_HOME%\bin\server\jvm.dll.
- ALLOCATED_MEM: The amount of memory to make available for the Quick Find service.
- SERVICE_EXE: Select a service executable from \CRM\Services\QuickFind\bin.
- Save and close SageCRMQuickFind-install-svc.cmd.
- Double-click SageCRMQuickFind-install-svc.cmd. A command prompt window opens and displays the status of the Quick Find service. The service should start when you've completed these steps.