[[troubleshooting-guide]]
Troubleshooting guide
=====================

[options="header", cols="40,30,30"]
|=============================
| Problem | Cause | Resolution

| OutOfMemoryError
| Too large top level transactions or leaking transactions not finished properly.
| Split updates into smaller transactions. Always make sure transactions are finished properly.

| ResourceAcquisitionFailedException or an error message containing the text “The transaction is marked for rollback only”
| Leaked non finished transaction tied to the current thread in state     marked for rollback only.
| Finish transactions properly.

| DeadlockDetectedException
| Concurrent updates of contended resources or not finishing transactions properly.
| See deadlock section under Transaction section.
|=============================

[[troubleshooting-guide]]
Troubleshooting guide
=====================

[options="header", cols="40,30,30"]
|=============================
| Problem | Cause | Resolution

| OutOfMemoryError
| Too large top level transactions or leaking transactions not finished properly.
| Split updates into smaller transactions. Always make sure transactions are finished properly.

| ResourceAcquisitionFailedException or an error message containing the text “The transaction is marked for rollback only”
| Leaked non finished transaction tied to the current thread in state     marked for rollback only.
| Finish transactions properly.

| DeadlockDetectedException
| Concurrent updates of contended resources or not finishing transactions properly.
| See <<transactions-deadlocks>>.
|=============================


Add link to deadlock section.
Add link to deadlock section.
