[Title] modify build script
authorjaewon81.lim <jaewon81.lim@samsung.com>
Mon, 31 Oct 2011 09:03:48 +0000 (18:03 +0900)
committerjaewon81.lim <jaewon81.lim@samsung.com>
Mon, 31 Oct 2011 09:03:48 +0000 (18:03 +0900)
[Type] bug fix
[Module] profiler-eplugin
[Priority] minor
[CQ#]
[Redmine#]
[Problem] hudson build fail by out of memory
[Cause] out of memory
[Solution] use new garbage collector
[TestCase]

build.sh

index 40c5432..de5865e 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -142,7 +142,7 @@ else
 fi
 
 echo "Execute Product Ant Builder..."
-java -jar ${based_eclipse_path}/plugins/$equinox_launcher -application org.eclipse.ant.core.antRunner -buildfile ${based_eclipse_path}/plugins/$pde_build/scripts/productBuild/productBuild.xml -Dbuilder=$build_path 2>&1
+java -server -XX:+UseParNewGC -jar ${based_eclipse_path}/plugins/$equinox_launcher -application org.eclipse.ant.core.antRunner -buildfile ${based_eclipse_path}/plugins/$pde_build/scripts/productBuild/productBuild.xml -Dbuilder=$build_path 2>&1
 
 if [ $? != 0 ];
 then