Skip to content

Commit 4ee5398

Browse files
resolve merge conflict
2 parents 5908610 + b2f7ea6 commit 4ee5398

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

articles/spring-apps/toc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,9 +266,9 @@ items:
266266
href: how-to-self-diagnose-solve.md
267267
- name: Self diagnose running in VNET
268268
href: how-to-self-diagnose-running-in-vnet.md
269-
- name: Troubleshoot common Azure Spring Apps issues
269+
- name: Troubleshoot common issues
270270
href: troubleshoot.md
271-
- name: Troubleshoot common exit code issues in Azure Spring Apps
271+
- name: Troubleshoot common exit code issues
272272
href: troubleshoot-exit-code.md
273273
- name: Capture heap/thread dump and use JFR
274274
href: how-to-capture-dumps.md

articles/spring-apps/troubleshoot-exit-code.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ ms.author: kunsun
1515
1616
**This article applies to:** ✔️ Basic/Standard tier ✔️ Enterprise tier
1717

18-
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.
2019

2120
The exit code indicates the reason the application terminated. The following list describes some common exit codes:
2221

@@ -40,17 +39,17 @@ The exit code indicates the reason the application terminated. The following lis
4039

4140
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.
4241

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.
4443

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.
4645

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.
4847

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.
5049

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).
5251

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.
5453

5554
## Next steps
5655

0 commit comments

Comments
 (0)