Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Before building CXF, you need to setup an environment variable to give Maven more memory:
On Unix

Code Block
export MAVEN_OPTS="-Xmx512M -XX:MaxPermSize=128M"

On Windows

Code Block

set MAVEN_OPTS=-Xmx512M -XX:MaxPermSize=128M

On 64bit Linux or Solaris platforms, or if you're obtaining out-of-memory or PermGen space errors, you may need to expand the memory requirements above further, to 1024M and 256M.

...