第11章 トラブルシューティングガイド

問題 原因 対処法

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 「デッドロック」.