aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2011-11-01 16:00:24 +0100
committersimonbrandhof <simon.brandhof@gmail.com>2011-11-01 16:00:24 +0100
commitc82947ddae882085f31e959e76b74822486c0a39 (patch)
tree9f4e01f3c1668829fc8efc431d333913adf691d2 /sonar-server
parent72f25528086e0578f34c857cc7d675c952bb355e (diff)
downloadsonarqube-c82947ddae882085f31e959e76b74822486c0a39.tar.gz
sonarqube-c82947ddae882085f31e959e76b74822486c0a39.zip
Define JVM memory options in scripts used on developer box
Diffstat (limited to 'sonar-server')
-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
6 files changed, 7 insertions, 0 deletions
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