Announcement Announcement Module
Collapse
No announcement yet.
springsource platform server Build failure Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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?

    Comment


    • #3
      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

      Comment


      • #4
        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

        Comment


        • #5
          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

          Comment

          Working...
          X