FAQ

Most Popular

Load More

Latest

The procedure to increase the memory for a Muse server installed as a service under Windows is: a) Stop the service by typing at the command prompt: – net stop “Muse Proxy Service” (for Muse Proxy) and/or – net stop “Muse ICE Server” (for Muse ICE) and/or – net stop “Muse HTTP Server” (for Muse HTTP) or net stop “Embedded Apache Tomcat” (for Apache Tomcat) or by navigating to Control Panel -> Administrative Tools -> Services and stop whatever is needed. b) Uninstall the service(s) using the provided script(s): – “UnInstallMuseProxyService.bat” (available in the %MUSE_HOME%\proxy folder) and/or – “UnInstallICEService.bat” (available in the %MUSE_HOME%\use\ice folder)and/or – “UnInstallHTTPService.bat” (available in the %MUSE_HOME%\http folder – if using Muse HTTP Server) or “service.bat remove” (available in the %MUSE_HOME%\tomcat\bin folder – if using Apache Tomcat server) c1) For Muse before 2500, modify the corresponding “JavaService.jvm” file(s) available in the location(s) above mentioned by changing the following lines (using a text editor): – Xms64M – Xmx256M to whatever memory amount needed. Please consider the available physical memory of the machine (). c2) If using Apache Tomcat HTTP server (Muse 2500 or newer), all changes described above still hold, except for the Apache Tomcat – the changes must be made in the %MUSE_HOME%\tomcat\bin\configure.bat file, by modifying the TOMCAT_XMS and/or TOMCAT_XMX values. d) Re-install the service(s) using the provided script(s): – “InstallMuseProxyService.bat” (available in the %MUSE_HOME%\proxy folder) and/or – “InstallICEService.bat” (available in the %MUSE_HOME%\use\ice folder) and/or – “InstallHTTPService.bat” (available in the %MUSE_HOME%\http folder – if using Muse HTTP Server) or “service.bat install” (available in the %MUSE_HOME%\tomcat\bin folder – if using Apache Tomcat server) e) Start the service(s) by typing at the command prompt: – net start “Muse Proxy Service” (for Muse Proxy) and/or – net start “Muse ICE Server” (for Muse ICE) and/or – net start “Muse HTTP Server” (for Muse HTTP) or net start “Embedded Apache Tomcat” (for Apache Tomcat) or by navigating to Control Panel -> Administrative Tools -> Services and start whatever is needed. Note: when editing “JavaService.jvm” like files, one must be aware that each line of the file must end with a “space” and “ENTER” and the last line of it must not have either the “space” nor the “ENTER”.

We suggest that you use the following parameters for the ICE Server as the HTTP Server and Muse Proxy Server do not request many resources and may stay as installed. If you still encounter Out of Memory problems with these servers, we suggest you add or increase the values of the memory parameters.

The –Xmx and –Xms parameters should already be present in the Java command line. It is recommended that both have the same values. Setting -Xmx and -Xms to the same value will avoid heap resizing, the most common cause of OutOfMemory errors. If -Xmx and -Xms have the same value, the JVM will try to allocate all heap memory at startup, exiting with an OutOfMemory error if this memory is not available.

Make sure the system has enough memory to accommodate the Java Virtual Machine and other programs. It is not a good option to choose values larger than the physical memory, because the host operating system will swap a part of the memory, and the speed advantage will be lost due to frequent disk accesses. For example, one may set –Xmx512M –Xms512M. The respective machine should have at least 512Mbytes of physical RAM. It is recommended that you set these values as high as possible, taking into consideration the requirements for the other servers running on that machine – including all the Muse Servers.

For Muse 2500 and newer, the Xmx and Xms memory settings (as well other settings) are set in the configure scripts (configure.bat, configure, configure.csh – depending on the operating system and shell used – Linux), one for each Muse server. Apache Tomcat and Muse Proxy servers have as default values TOMCAT_XMS=128M, TOMCAT_XMX=512M respectively PROXY_XMS=64M, PROXY_XMX=512M now.

For more information please refer to the “Muse Advanced Configuration.pdf”, chapter “Java Virtual Machine enhancements.”

Load More