Ignite on 64 Bit Windows - Confio Article 1559
On Windows, Ignite PI installs a 32-bit JRE and a 32-bit version of Tomcat. Ignite runs as a service and defaults to use the installed JRE and Tomcat. When installed on 64-bit Windows, everything will still run, but you may want to take advantage of the 64-bit architecture (e.g. to configure the JRE with more memory). This is typically done if you have a high number of monitored databases (>= 80) and Ignite is running out of heap space (refer to the KB article on Ignite Scalability).
To take advantage of the 64-bit architecture, a 64-bit JRE will need to be installed and a 64-bit Tomcat needs to be used. To do this:
- Install a 64-bit JRE.
- Choose either the JRE6 or JDK 6 download.
- For Platform choose Windows x64
- Remove the Ignite PI Server service by running:
c:
cd <Ignite Home> (e.g. c:\program files (x86)\confio\ignite pi)
removeWindowsService.bat
- Verify that the service is gone by checking for the existance of "Ignite PI Server" in Windows Services.
- If the service is still there, you may need to run the above batch file with the "as administrator" option, as follows:
- Open a command prompt using "Run as Administrator" (click on the Windows start icon, then All Programs, then Accessories, then right-click on "Command Prompt" and choose "Run as Administrator")
- cd <Ignite Home> (e.g. c:\program files (x86)\confio\ignite pi)
- removeWindowsService.bat
- After the script runs, verify that the service has been removed.
- Tell Ignite to use the 64-bit JRE by updating the following file to specify the path to the 64-bit java.exe:
- <Ignite Home>\iwc\tomcat\ignite_config\java_loc.txt
- Switch to a 64-bit Tomcat. In <Ignite Home>\iwc\tomcat\bin, do the following:
- Ignite 8.1 and prior:
- delete tomcat5.exe
- make a copy of tomcat5_64bit.exe and rename the copy to tomcat5.exe
- Ignite 8.2 and above:
- delete tomcat6.exe
- make a copy of tomcat6_64bit.exe and rename the copy to tomcat6.exe
- Update the Java Min and Max Heap Size value.
- see KB article 1547
- Running as 64-bit, you can increase heap space up to 32GB. However, it is not likely that Ignite will need more than 4GB.
- Ensure that there is enough RAM on the Ignite PI Server machine to dedicate to the new heap space setting.
- Create the Ignite PI Server service by running:
c:
cd <Ignite Home> (e.g. c:\program files (x86)\confio\ignite pi)
createWindowsService.bat
|