From 7941f8da232dbfe55882bc0704684072a04c2375 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sun, 11 Jun 2017 18:12:25 +0100 Subject: [PATCH] add opensim.sh and opensim32.sh for linux, replacing old opensim-ode.sh --- bin/opensim-ode.sh | 4 ---- bin/opensim.sh | 5 +++++ bin/opensim32.sh | 5 +++++ 3 files changed, 10 insertions(+), 4 deletions(-) delete mode 100755 bin/opensim-ode.sh create mode 100644 bin/opensim.sh create mode 100644 bin/opensim32.sh diff --git a/bin/opensim-ode.sh b/bin/opensim-ode.sh deleted file mode 100755 index 7c6157106b..0000000000 --- a/bin/opensim-ode.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -echo "Starting OpenSimulator with ODE or ubOde. If you get an error saying limit: Operation not permitted. Then you will need to chmod 0600 /etc/limits" -ulimit -s 262144 -mono OpenSim.exe diff --git a/bin/opensim.sh b/bin/opensim.sh new file mode 100644 index 0000000000..508d925665 --- /dev/null +++ b/bin/opensim.sh @@ -0,0 +1,5 @@ +#!/bin/sh +ulimit -s 1048576 +# next option may improve SGen gc (for opensim only) you may also need to increase nursery size on large regions +#export MONO_GC_PARAMS="minor=split,promotion-age=14" +mono --desktop OpenSim.exe diff --git a/bin/opensim32.sh b/bin/opensim32.sh new file mode 100644 index 0000000000..0a0be32259 --- /dev/null +++ b/bin/opensim32.sh @@ -0,0 +1,5 @@ +#!/bin/sh +ulimit -s 1048576 +# next option may improve SGen gc (for opensim only) +#export MONO_GC_PARAMS="minor=split,promotion-age=14" +mono --desktop OpenSim32.exe