From eaef35e99098e48b2fe453af012d7fe7c12438e1 Mon Sep 17 00:00:00 2001 From: Athou Date: Wed, 8 May 2013 08:55:37 +0200 Subject: [PATCH] instructions for setenv to avoid PermGen space errors (#73) --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index db3013fe..781f7e4e 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,8 @@ It will generate a zip file at `target/commafeed.zip` with everything you need t * Create a directory somewhere (e.g. `/opt/commafeed/`) and extract the generated zip inside this directory. * Create a directory called `logs` (e.g. `/opt/commafeed/logs`) +* On Linux, create the file `bin/setenv.sh` and put the following in it : `export JAVA_OPTS="-Xmx1024m -XX:MaxPermSize=256m -XX:+CMSClassUnloadingEnabled"` +* On Windows, create the file `bin/setenv.bat` and put the following in it : `set JAVA_OPTS="-Xmx1024m -XX:MaxPermSize=256m -XX:+CMSClassUnloadingEnabled"` * If you used the MySQL option, create a database in your MySQL instance, then uncomment the `Resource` element from `conf/tomee.xml` and edit the default credentials. * If you'd like to change the default port (8082), edit `conf/server.xml` and look for `