Skip Ribbon Commands
Skip to main content
Navigate Up
Sign In

Quick Launch

Average Rating:

(3 Ratings)
facebook Twitter
Email
Print Bookmark Alert me when this article is updated

Feedback

HOW TO: Change the Java Heap size for Informatica Services on Windows
Solution

After Informatica is installed on Windows, the service can be started using the following two approaches:

  • Running %INFA_HOME%\tomcat\bin\infaservice.bat
  • Starting the service from the Services window in the Control Panel.

Depending on the way the services are started, the way of configuring the Java Heap size changes:

Starting Informatica Services using infaservice.bat

When Informatica Services are started using infaservice.bat, the Java Heap size parameter is taken from the script. Therefore, to increase that value, it is necessary to change the script by modifying, or including the -Xmx parameter in all the occurences of INFA_JAVA_OPTS as follows:

INFA_JAVA_OPTS=-Xmx512m %INFA_JAVA_OPTS% -XX:GCTimeRatio=9 -XX:MaxPermSize=128m -XX:+HeapDumpOnOutOfMemoryError

must be changed for

INFA_JAVA_OPTS=-Xmx1024m %INFA_JAVA_OPTS% -XX:GCTimeRatio=9 -XX:MaxPermSize=128m -XX:+HeapDumpOnOutOfMemoryError

Starting Informatica Services from the Control Panel

When Informatica Services are started from the Control Panel, or when the machine is switched on, the Java Heap size parameter is taken from the registry. Therefore, to increase that value, it is necessary to change that value in the Windows registry in the following entry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Informatica\Parameters\JavaOptions

registroKB2.JPG
These values in the repository are set during the installation. It is possible to reproduce the process of the installer and have both changes made at the same time.

For 10.x installations, in regedit,
 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\InformaticaServiceName\Parameters], select JVMMaxMemory parameter and increase the value.
Registryv10.png 
 

To modify the services, do the following:
  1. Run infaservice.bat remove NameOfYourService

    Click on Property of the Informatica Service to view the name of the service, which can be viewed in the Services windows from Control Panel.

    This command removes:

    • The configuration of the service in the Windows Registry.
    • The Service from the Services view.

      serviceName.jpg

  2. Change the script infaservice.bat including the desired -Xmx parameter.
  3. Run infaservice.bat install NameOfYourService.

    This command creates:
    • A new service in the Services view in the Control Panel.
    • A new configuration in the Windows registry with new parameters.
More Information
Reference
Applies To
Product: PowerCenter
Problem Type:
User Type: Administrator
Project Phase:
Product Version: PowerCenter
Database:
Operating System:
Other Software:
Attachments
Last Modified Date:1/8/2018 10:12 PMID:301535
People who viewed this also viewed

Feedback

Did this KB document help you?



What can we do to improve this information (2000 or fewer characters)