-
Aug 12th, 2008, 05:32 PM
#1
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
-
Aug 12th, 2008, 05:58 PM
#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?
-
Aug 12th, 2008, 08:42 PM
#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
-
Aug 12th, 2008, 10:01 PM
#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
-
Aug 12th, 2008, 11:29 PM
#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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules