summaryrefslogtreecommitdiff
path: root/devel/phpstorm-bin/patches/patch-bin_phpstorm.sh
blob: eccbe42960021a582e8cee319ed060f47397b548 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-bin_phpstorm.sh,v 1.1 2019/03/03 19:06:31 youri Exp $

JVM options for typical NetBSD setups.

--- bin/phpstorm.sh.orig	2019-02-08 12:24:20.000000000 +0000
+++ bin/phpstorm.sh
@@ -21,6 +21,7 @@ message()
   fi
 }
 
+PHPSTORM_JDK=@PKG_JAVA_HOME@
 UNAME=`which uname`
 GREP=`which egrep`
 GREP_OPTIONS=""
@@ -202,6 +203,9 @@ fi
 # ---------------------------------------------------------------------
 IFS="$(printf '\n\t')"
 "$JAVA_BIN" \
+  -Xmx4096 -Xms4096 \
+  -XX:-UseCompressedClassPointers \
+  -XX:-UseCompressedOops \
   -classpath "$CLASSPATH" \
   ${VM_OPTIONS} \
   "-XX:ErrorFile=$HOME/java_error_in_PHPSTORM_%p.log" \