This should fix the issue. The root cause was a loop that would not terminate on error or EOF condition while scanning for an end delimiter.
Fix PMD issue 1531- endless loop followed by OOM while parsing (PL)SQL
Hi, thanks for the PR. Do you have a sample PLSQL file, which reproduces this endless loop?