java.lang.OutOfMemoryError: GC overhead limit exceeded
  • 22 Oct 2021
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

java.lang.OutOfMemoryError: GC overhead limit exceeded

  • Dark
    Light
  • PDF

Article Summary

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?