<commit_before>[[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.
|=============================<commit_msg>Add link to deadlock section.<commit_after>[[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>>.
|=============================

{'fraction_non_alphanumeric': 0.14700652045050386, 'fraction_numerical': 0.007113218731475993, 'mean_word_length': 6.4035087719298245, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5010696', 'n_tokens_mistral': 401, 'n_tokens_neox': 365, 'n_words': 164}