summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--quick-build.bat2
-rwxr-xr-xquick-build.sh2
-rw-r--r--sonar-server/derby-start.bat1
-rwxr-xr-xsonar-server/derby-start.sh1
-rw-r--r--sonar-server/mysql-start.bat1
-rwxr-xr-xsonar-server/mysql-start.sh1
-rw-r--r--sonar-server/postgresql-start.bat1
-rwxr-xr-xsonar-server/postgresql-start.sh2
8 files changed, 9 insertions, 2 deletions
diff --git a/quick-build.bat b/quick-build.bat
index 84f70ef861b..d60c0688b92 100644
--- a/quick-build.bat
+++ b/quick-build.bat
@@ -1,2 +1,2 @@
-set MAVEN_OPTS=-Xmx768m -XX:MaxPermSize=256m
+set MAVEN_OPTS=-Xmx256m
mvn clean install -Dtest=false -DfailIfNoTests=false -Pdev %*
diff --git a/quick-build.sh b/quick-build.sh
index 1ab7db6ea40..974291918c6 100755
--- a/quick-build.sh
+++ b/quick-build.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-export MAVEN_OPTS='-Xmx512m'
+export MAVEN_OPTS='-Xmx256m'
echo '-------------------------------------------------'
echo ''
diff --git a/sonar-server/derby-start.bat b/sonar-server/derby-start.bat
index a278fd46af9..16396728f6f 100644
--- a/sonar-server/derby-start.bat
+++ b/sonar-server/derby-start.bat
@@ -1 +1,2 @@
+set MAVEN_OPTS='-Xmx768m -XX:MaxPermSize=128m'
mvn clean jetty:run -Pstart-dev-server,derby \ No newline at end of file
diff --git a/sonar-server/derby-start.sh b/sonar-server/derby-start.sh
index 0e12c38ee1d..009ac00529e 100755
--- a/sonar-server/derby-start.sh
+++ b/sonar-server/derby-start.sh
@@ -1,2 +1,3 @@
#!/bin/sh
+export MAVEN_OPTS='-Xmx768m -XX:MaxPermSize=128m'
mvn clean jetty:run -Pstart-dev-server,derby \ No newline at end of file
diff --git a/sonar-server/mysql-start.bat b/sonar-server/mysql-start.bat
index db0f34d9178..2b3d7df4842 100644
--- a/sonar-server/mysql-start.bat
+++ b/sonar-server/mysql-start.bat
@@ -1 +1,2 @@
+set MAVEN_OPTS='-Xmx768m -XX:MaxPermSize=128m'
mvn clean jetty:run -Pstart-dev-server,mysql \ No newline at end of file
diff --git a/sonar-server/mysql-start.sh b/sonar-server/mysql-start.sh
index 284e87aa7c9..6b0901e07c7 100755
--- a/sonar-server/mysql-start.sh
+++ b/sonar-server/mysql-start.sh
@@ -1,2 +1,3 @@
#!/bin/sh
+export MAVEN_OPTS='-Xmx768m -XX:MaxPermSize=128m'
mvn clean jetty:run -Pstart-dev-server,mysql \ No newline at end of file
diff --git a/sonar-server/postgresql-start.bat b/sonar-server/postgresql-start.bat
index ba8ab1ffa4a..357be9b10c2 100644
--- a/sonar-server/postgresql-start.bat
+++ b/sonar-server/postgresql-start.bat
@@ -1 +1,2 @@
+set MAVEN_OPTS='-Xmx768m -XX:MaxPermSize=128m'
mvn clean jetty:run -Pstart-dev-server,postgresql \ No newline at end of file
diff --git a/sonar-server/postgresql-start.sh b/sonar-server/postgresql-start.sh
index ba8ab1ffa4a..40d38f1a9c5 100755
--- a/sonar-server/postgresql-start.sh
+++ b/sonar-server/postgresql-start.sh
@@ -1 +1,3 @@
+#!/bin/sh
+export MAVEN_OPTS='-Xmx768m -XX:MaxPermSize=128m'
mvn clean jetty:run -Pstart-dev-server,postgresql \ No newline at end of file