At Codacy we ran into this issue analysing some Javascript files. It seems to loop infinitely consuming the entire heap and failing with OutOfMemoryError
You can find a reproducing repository here
Affects PMD Version:
Description:
PMD fails with OutOfMemoryError
parsing a Javascript file
Code Sample demonstrating the issue:
note: Removing the newline changes behavior:
is parsed correctly.
Running PMD through: CLI
Codacy Issue:
https://github.com/codacy/codacy-meta/issues/207
cc: @andreaTP
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4