
Copyright © 2001, 2015, Oracle and/or its affiliates. All rights reserved.
13. Performance Tuning
JVM
The JVMs supported by Oracle Transportation Management vary by platform. Each JVM has a set of
parameters which can be used to tune the performance of the JVM. Most of these parameters affect
the memory management process referred to as garbage collection. Oracle Transportation
Management ships with a default set of these parameters to be used as a starting point for JVM
tuning. Changing these parameters can have a significant impact on the overall performance of the
system. Therefore, changes should be well documented and made incrementally with thorough
performance testing.
Changing Memory Settings
As your server load varies, you may need to change the amount of memory that is allocated to the
Oracle Transportation Management instance. You can change the amount of memory allocated to both
Tomcat and WebLogic.
Tomcat is the Java servlet server that Oracle Transportation Management uses. Increasing the amount
of memory that it can utilize allows more Oracle Transportation Management concurrent users and
improves the speed of some integration tasks.
WebLogic is the application server that Oracle Transportation Management runs within. Increasing the
amount of memory that is has improves performance of business logic functions.
After making any memory changes, you need to stop and restart Oracle Transportation Management,
as described starting on page in the chapter Starting and Stopping the Oracle Transportation
Management Servers. The instructions below describe how to make these changes.
UNIX and Microsoft Windows
To change the amount of memory that Tomcat uses, edit <otm_install_path>/tomcat/bin/tomcat.conf
and modify the following lines:
jvm.arg=-Xms[TOMCAT_MEMORY]m
jvm.arg=-Xmx[TOMCAT_MEMORY]m
[TOMCAT_MEMORY] will be some integer value that represents the amount of memory (in megabytes)
to use. For instance, if you changed this to 2.2GB, the line would read:
jvm.arg=-Xms2200m
jvm.arg=-Xmx2200m
To change the amount of memory that WebLogic uses edit
<otm_install_path>/weblogic/weblogic.conf:
jvm.arg=-Xms[WEBLOGIC_MEMORY]m
jvm.arg=-Xmx[WEBLOGIC_MEMORY]m
If you change this value to 2.2GB, it would look like:
jvm.arg=-Xms2200m
jvm.arg=-Xmx2200m
In all cases, restart your Oracle Transportation Management instance to make these changes take
effect.
Kommentare zu diesen Handbüchern