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
This article describes troubleshooting actions you can take when your application in Azure Spring Apps exits with an error code.
19
-
You may generate an error code if your application deployment is unsuccessful, or if the application exits when it's running.
18
+
This article describes troubleshooting actions you can take when your application in Azure Spring Apps exits with an error code. You may receive an error code if your application deployment is unsuccessful, or if the application exits when it's running.
20
19
21
20
The exit code indicates the reason the application terminated. The following list describes some common exit codes:
22
21
@@ -40,17 +39,17 @@ The exit code indicates the reason the application terminated. The following lis
40
39
41
40
For example, you need to connect to Azure Key Vault to import certificates in your application, but your application doesn't have the necessary permissions to access it.
42
41
43
-
-**137** - The application exited because of an out of memory error. The application requested resources that the hosting platform failed to provide. Update your application's Java Virtual Machine (JVM) parameters to restrict resource usage, or scale up application resources.
42
+
-**137** - The application exited because of an out-of-memory error. The application requested resources that the hosting platform failed to provide. Update your application's Java Virtual Machine (JVM) parameters to restrict resource usage or scale up application resources.
44
43
45
-
If the application is a Java application, check the JVM parameters. They may exceed the memory limit of your application.
44
+
If the application is a Java application, check the JVM parameter values. They may exceed the memory limit of your application.
46
45
47
-
For example, you configured 10 GB for the *Xmx* JVM parameter, but the application is using up to 5 GB of memory. Decrease the *Xmx* value or increase the application memory to make sure that the value of the *Xmx* parameter is lower or equal to the memory limit of the application.
46
+
For example, suppose you set the *Xmx* JVM parameter to 10 GB, but the application is using up to 5 GB of memory. Decrease the *Xmx* value or increase the application memory to make sure that the value of the *Xmx* parameter is lower or equal to the memory limit of the application.
48
47
49
-
-**143** - The application exited because it failed to respond to a health check due to an out of memory error or some other error.
48
+
-**143** - The application exited because it failed to respond to a health check due to an out-of-memory error or some other error.
50
49
51
-
This error code is most often generated by an out of memory error. For more information, see [How to fix app restart issues caused by out of memory](./how-to-fix-app-restart-issues-caused-by-out-of-memory.md).
50
+
This error code is most often generated by an out-of-memory error. For more information, see [App restart issues caused by out-of-memory issues](./how-to-fix-app-restart-issues-caused-by-out-of-memory.md).
52
51
53
-
For more information, see the [application log](https://aka.ms/azure-spring-cloud-doc-log).
52
+
You can also find more information from the application log by using the Azure CLI [az spring app logs](/cli/azure/spring/app#az-spring-app-logs) command.
0 commit comments