Skip to content

Commit

Permalink
Fix #434 by increasing default JVM stack size
Browse files Browse the repository at this point in the history
  • Loading branch information
tsarkov committed May 18, 2016
1 parent 726be6b commit b9a0838
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions protege-desktop/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<properties>
<conf.mem.xmx>500</conf.mem.xmx>
<conf.mem.xms>200</conf.mem.xms>
<conf.mem.xss>16</conf.mem.xss>
<conf.extra.args>-XX:CompileCommand=exclude,javax/swing/text/GlyphView,getBreakSpot</conf.extra.args>
<osx.bundle.name>Protégé.app</osx.bundle.name>
</properties>
Expand Down
1 change: 1 addition & 0 deletions protege-desktop/src/main/env/linux/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ done
cd "$( cd -P "$( dirname "$SOURCE" )" && pwd )"

jre/bin/java -Xmx${conf.mem.xmx}M -Xms${conf.mem.xms}M \
-Xss${conf.mem.xss}M \
-DentityExpansionLimit=100000000 \
-Dlogback.configurationFile=conf/logback.xml \
-Dfile.encoding=UTF-8 \
Expand Down
2 changes: 1 addition & 1 deletion protege-desktop/src/main/env/platform-independent/run.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
setlocal
cd /d %~dp0
java -Xmx${conf.mem.xmx}M -Xms${conf.mem.xms}M ${conf.extra.args} -DentityExpansionLimit=100000000 -Dlogback.configurationFile=conf/logback-win.xml -Dfile.encoding=utf-8 -Dorg.protege.plugin.dir=plugins -classpath bundles/guava.jar;bundles/logback-classic.jar;bundles/logback-core.jar;bundles/slf4j-api.jar;bin/org.apache.felix.main.jar;bin/protege-launcher.jar org.protege.osgi.framework.Launcher %1
java -Xmx${conf.mem.xmx}M -Xms${conf.mem.xms}M -Xss${conf.mem.xss}M ${conf.extra.args} -DentityExpansionLimit=100000000 -Dlogback.configurationFile=conf/logback-win.xml -Dfile.encoding=utf-8 -Dorg.protege.plugin.dir=plugins -classpath bundles/guava.jar;bundles/logback-classic.jar;bundles/logback-core.jar;bundles/slf4j-api.jar;bin/org.apache.felix.main.jar;bin/protege-launcher.jar org.protege.osgi.framework.Launcher %1
1 change: 1 addition & 0 deletions protege-desktop/src/main/env/platform-independent/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ done
cd "$( cd -P "$( dirname "$SOURCE" )" && pwd )"

java -Xmx${conf.mem.xmx}M -Xms${conf.mem.xms}M \
-Xss${conf.mem.xss}M \
-Dlogback.configurationFile=conf/logback.xml \
-DentityExpansionLimit=100000000 \
-Dfile.encoding=UTF-8 \
Expand Down
2 changes: 1 addition & 1 deletion protege-desktop/src/main/env/win/run.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
setlocal
cd /d %~dp0
jre\bin\java -Xmx${conf.mem.xmx}M -Xms${conf.mem.xms}M ${conf.extra.args} -DentityExpansionLimit=100000000 -Dlogback.configurationFile=conf/logback-win.xml -Dfile.encoding=utf-8 -Dorg.protege.plugin.dir=plugins -classpath bundles/guava.jar;bundles/logback-classic.jar;bundles/logback-core.jar;bundles/slf4j-api.jar;bin/org.apache.felix.main.jar;bin/protege-launcher.jar org.protege.osgi.framework.Launcher %1
jre\bin\java -Xmx${conf.mem.xmx}M -Xms${conf.mem.xms}M -Xss${conf.mem.xss}M ${conf.extra.args} -DentityExpansionLimit=100000000 -Dlogback.configurationFile=conf/logback-win.xml -Dfile.encoding=utf-8 -Dorg.protege.plugin.dir=plugins -classpath bundles/guava.jar;bundles/logback-classic.jar;bundles/logback-core.jar;bundles/slf4j-api.jar;bin/org.apache.felix.main.jar;bin/protege-launcher.jar org.protege.osgi.framework.Launcher %1

0 comments on commit b9a0838

Please sign in to comment.