Chapter 8. Troubleshooting guide

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.