You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by dg...@apache.org on 2023/01/26 06:18:50 UTC
[unomi] branch fix-ram-default-setting created (now 69ddc3764)
This is an automated email from the ASF dual-hosted git repository.
dgriffon pushed a change to branch fix-ram-default-setting
in repository https://gitbox.apache.org/repos/asf/unomi.git
at 69ddc3764 UNOMI-729 : Use default RAM settings
This branch includes the following new commits:
new 69ddc3764 UNOMI-729 : Use default RAM settings
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[unomi] 01/01: UNOMI-729 : Use default RAM settings
Posted by dg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
dgriffon pushed a commit to branch fix-ram-default-setting
in repository https://gitbox.apache.org/repos/asf/unomi.git
commit 69ddc3764d153656aab9fa198ffe2da4cd2f4d5a
Author: David Griffon <dg...@jahia.com>
AuthorDate: Thu Jan 26 07:18:39 2023 +0100
UNOMI-729 : Use default RAM settings
---
package/src/main/resources/bin/setenv | 4 +---
package/src/main/resources/bin/setenv.bat | 4 ++--
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/package/src/main/resources/bin/setenv b/package/src/main/resources/bin/setenv
index 8c5ba86ac..e48561de4 100755
--- a/package/src/main/resources/bin/setenv
+++ b/package/src/main/resources/bin/setenv
@@ -57,6 +57,4 @@ MY_KARAF_HOME=`cd "$MY_DIRNAME/.."; pwd`
# On Linux:
# export YOURKIT_AGENTPATH="/home/jahia/install/yourkit/YourKit-JavaProfiler-2017.02/bin/linux-x86-64/libyjpagent.so"
# Also activate this line to activate the agent on the JVM command line:
-# export KARAF_OPTS="-agentpath:$YOURKIT_AGENTPATH=disablestacktelemetry,exceptions=disable,delay=10000,probe_disable=*"
-
-export JAVA_MAX_MEM=2G
\ No newline at end of file
+# export KARAF_OPTS="-agentpath:$YOURKIT_AGENTPATH=disablestacktelemetry,exceptions=disable,delay=10000,probe_disable=*"
\ No newline at end of file
diff --git a/package/src/main/resources/bin/setenv.bat b/package/src/main/resources/bin/setenv.bat
index c73cd8b80..f5db6f80b 100644
--- a/package/src/main/resources/bin/setenv.bat
+++ b/package/src/main/resources/bin/setenv.bat
@@ -43,11 +43,11 @@ rem SET JAVA_HOME
rem Minimum memory for the JVM
rem SET JAVA_MIN_MEM
rem Maximum memory for the JVM
-SET JAVA_MAX_MEM=2G
+REM SET JAVA_MAX_MEM
rem Minimum perm memory for the JVM
rem SET JAVA_PERM_MEM
rem Maximum perm memory for the JVM
-SET JAVA_MAX_PERM_MEM=512M
+rem SET JAVA_MAX_PERM_MEM
rem Karaf home folder
rem SET KARAF_HOME
rem Karaf data folder