Adjust Java VM memory limits for an installation on Windows

Try Pentaho Data Integration and Analytics

Version
10.2.x
Audience
anonymous
Part Number
MK-95PDIA000-16

Windows users who installed Pentaho may experience out-of-memory errors. You can increase the memory allotment to remedy the errors.

Note: These instructions apply when you have installed Pentaho using the installation wizard (as opposed to custom installation) and are a Windows user.

Perform the following steps to increase the Java VM memory allocation for Windows:

  1. Stop the Pentaho Server.
  2. Double-click the pentahoserverw.exe file in the server\pentaho-server\tomcat\bin folder to open the Pentaho Server Properties window.
    You may need to right-click the file and select Run as Administrator, depending on your user permission settings.
  3. Select the Java tab as shown in the following example:


    Windows Properties dialog box

  4. Increase the default Initial memory pool value from 2048 MB to 6144 MB and the default Maximum memory pool value from 6144 MB to 8192 MB, depending on your computer's memory capabilities, then click OK.
  5. Start the Pentaho Server.
The Java VM memory allocations are increased. You can verify that the new memory settings are used by inspecting your Catalina log file.
If there is not enough contiguous memory available to assign to the Java virtual machine (JVM), the JVM may refuse to start. To resolve this problem, perform one or more of the following tasks:
  • Add more RAM to your system.
  • Stop some memory-intensive services.
  • Lower the maximum memory limit allocation.