Results 1 to 5 of 5

Thread: springsource platform server Build failure

  1. #1
    Join Date
    Oct 2008
    Posts
    0

    Default springsource platform server Build failure

    What is the recommended memory setting for the build. I have 2 GB RAM and it failed the third time. How can I build the springsource platform server? Or is there a binary I can download and use.

    BUILD FAILED
    C:softwarespringsource-ap-sources-1.0.0.RC1spring-buildmulti-bundleartifact
    .xml:45: The following error occurred while executing this line:
    C:softwarespringsource-ap-sources-1.0.0.RC1uild-commonmulti-bundle-common.x
    ml:10: The following error occurred while executing this line:
    C:softwarespringsource-ap-sources-1.0.0.RC1spring-buildmulti-bundleartifact
    .xml:45: The following error occurred while executing this line:
    C:softwarespringsource-ap-sources-1.0.0.RC1uild-commonmulti-bundle-common.x
    ml:10: The following error occurred while executing this line:
    C:softwarespringsource-ap-sources-1.0.0.RC1spring-buildcommoncommon.xml:54:
    java.lang.OutOfMemoryError: PermGen space

  2. #2
    Join Date
    Aug 2004
    Location
    San Mateo, CA
    Posts
    1,265

    Default springsource platform server Build failure

    You can choose Download Option A (free SpringSource licensed binary). It's the same binary as you will get from building yourself.

    I have no problem building from the source distro, so I am not sure why it's not working for you and can't shed any light on your problem... Is there anything unusual about your setup?

  3. #3
    Join Date
    Oct 2008
    Posts
    0

    Default springsource platform server Build failure

    Hi Rod,

    I do not have any special set up. I just downloaded the source and run ant dist from the build-app directory. In the end, I get out of memory error. Let me choose download Option A. Thanks so much for the post.

    Vigil

  4. #4
    Join Date
    Mar 2005
    Location
    The Netherlands
    Posts
    121

    Default springsource platform server Build failure

    Hi Vigil,

    set the following environment variable before running the build to solve the OOM:
    set ANT_OPTS=-Xms256m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=256m

    This is documented in the readme.txt that accompanies the source zip.

    Joris

  5. #5
    Join Date
    Oct 2008
    Posts
    0

    Default springsource platform server Build failure

    Thanks Joris. I will follow readme.txt instructions to build it. I prefer GPL license as opposed to Spring Source License

    Vigil

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •