java.lang.OutOfMemoryError: GC overhead limit exceeded
- 22 Oct 2021
- 1 Minute to read
- Contributors
- DarkLight
- PDF
java.lang.OutOfMemoryError: GC overhead limit exceeded
- Updated on 22 Oct 2021
- 1 Minute to read
- Contributors
- DarkLight
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
This error can be solved by manually adding a parameter to your Ant environment path variable.
In Windows:
set ANT_OPTS=%ANT_OPTS% -Xmx2048M
In Linux/OS X:
export ANT_OPTS=$ANT_OPTS -Xmx2048M
If the problem persists, please contact support@codescan.io
Was this article helpful?