You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/site/content/managing-domains/accessing-the-domain/wlst.md
+21-1Lines changed: 21 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,26 @@ You can use the `kubectl exec` command to start an interactive WLST session
25
25
within a pod or to remotely run a WLST script on a pod.
26
26
Typically, this is the preferred method.
27
27
28
+
**NOTE**: The WLST script uses the value of the environment variable `USER_MEM_ARGS` to control the heap settings of the JVM process. If you have set the environment variable
29
+
`USER_MEM_ARGS` in the domain resource YAML, the WLST process will inherit the memory settings. For example,
30
+
if you have `USER_MEM_ARGS` value set to `-Xms2048m -Xmx2048m`, the WebLogic server JAVA process will use this heap settings, and if you run the WLST script in the server pod,
31
+
the WLST script JAVA process will also use this heap settings. This may cause unexpected behavior in the server pod due to additional memory usage.
32
+
33
+
In order to change the memory settings, you must do the following
Copy file name to clipboardExpand all lines: documentation/site/content/managing-domains/domain-on-pv/overview.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,11 @@ The `initializeDomainOnPv` section:
26
26
- Creates the RCU schema, if needed.
27
27
- Creates the WebLogic domain home on the persistent volume based on the provided WDT models.
28
28
29
+
{{% notice note %}}
30
+
If you are running WebLogic Scripting Tool (WLST) inside a server pod, then
31
+
please refer to [Use kubectl exec]({{< relref "/managing-domains/accessing-the-domain/wlst#use-kubectl-exec">}}) in the WLST documentation for very important information related to memory usage.
32
+
{{% /notice %}}
33
+
29
34
### High-level use case
30
35
31
36
The typical Domain on PV use case is for an application life cycle that requires persisting changes to the permanent file system.
0 commit comments