jvm-arguments Questions
1
Solved
Is there any way to make the JVM cache the optimized native code it generates to a file, to improve the performance of future runs?
Blakely asked 10/6, 2020 at 13:35
3
Solved
I have a Spring boot application that is started as a service using Linux's systemd.
It is based on this documentation :
http://docs.spring.io/spring-boot/docs/current/reference/html/deployment-in...
Carty asked 29/7, 2016 at 14:50
1
JVM options is
-server -Xmx100g -Xms100g -XX:MaxMetaspaceSize=1G -Xss512k
-XX:+UnlockExperimentalVMOptions -XX:+UseZGC -XX:MaxGCPauseMillis=30
-XX:ConcGCThreads=4 -XX:ParallelGCThreads=12
-XX...
Vizzone asked 12/9, 2019 at 2:41
1
Solved
Since Java 11, a PREVIEW-MODE on the Java Compiler and Runtime can be enabled. It allows to preview new features. (JEP 12)
java --enable-preview
How can I detect from within Java whether the JVM...
Aerology asked 10/10, 2019 at 16:3
6
Solved
The theoretical maximum heap value that can be set with -Xmx in a 32-bit system is of course 2^32 bytes, but typically (see: Understanding max JVM heap size - 32bit vs 64bit) one cannot use all 4GB...
Ass asked 5/10, 2011 at 14:45
7
Solved
Very recently I installed JDK 9 and Apache Cassandra from the official site. But now when I start cassandra in foreground, I get this message:
apache-cassandra-3.11.1/bin$ ./cassandra -f
[0.000s]...
Patron asked 25/10, 2017 at 15:17
2
I have a Dockerfile looks like below:
FROM tomcat:9.0.12-jre8
EXPOSE 8080
COPY app.war "$CATALINA_HOME"/webapps
I need to set some JVM properties as below:
-DTOMCAT=Y
-Doracle.server=1234
-Dora...
Walters asked 22/7, 2019 at 21:22
3
my teamcity build server has following JVM Arguments:
-Xmx512m -XX:MaxPermSize=270m
sometimes it shows some memory problem message like "TeamCity server memory usage for PS Old Gen pool exceeded...
Manvel asked 24/4, 2015 at 12:48
2
Solved
I didn't specify any GC, and I think my JVM have not any GC be enabled by default.
Of course I know that OpenJDK8 use ParallelGC by default, but I think it should can print by command line, like t...
Glycine asked 25/2, 2019 at 8:50
4
Solved
When I try to start dfs using:
start-dfs.sh
I get an error saying :
14/07/03 11:03:21 WARN util.NativeCodeLoader: Unable to load
native-hadoop library for your platform... using builtin-java cl...
Honestly asked 2/7, 2014 at 7:7
3
Solved
What is the default value for XX:MaxDirectMemorySize?
Binal asked 22/9, 2010 at 21:29
2
Solved
I want to do the following :
jshell -v -Duser.country=FR -Duser.language=fr
So as to get for example a personalized Locale.getDefault().
Threonine asked 21/12, 2018 at 23:55
3
Solved
I'm using the java -XX:+PrintFlagsFinal -version as per the Print all JVM flags question, to compare results between difference JDKs on my upgrade path to JVM 11.
I've noticed though that the resu...
Lepidopterous asked 26/11, 2018 at 9:40
3
Solved
Is there an option to define default JVM arguments in IntelliJ IDEA?
For example, I would like to always activate:
-ea -Dslf4j.detectLoggerNameMismatch=true
In Eclipse, the option can be found...
Kakalina asked 9/9, 2015 at 16:8
2
Solved
What is the exact difference between JDK_JAVA_OPTIONS and JAVA_TOOL_OPTIONS when using Java 11?
I'm using a tiny test program:
public class Foo {
public static final void main(String[] args) {
Sy...
Illbehaved asked 25/10, 2018 at 9:58
0
We are running our Apache Beam code in Google cloud dataflow, we need to pass some JVM argument to our program. We found links related to Execution Parameters, but nothing related to JVM arguments....
Hawfinch asked 19/10, 2018 at 4:24
2
How can I point to two differents java.library.path in eclipse project - run configurations? I need these two libraries:
-Djava.library.path=/opt/hdf-java/build/bin
-Djava.library.path=/opt/opencv...
Cantoris asked 11/5, 2015 at 19:37
4
I have some questions about the GC Algorithm:
First when we use the parameters such UseSerialGC, UseParallelGC, UseParallelOldGC and so on, we specify a GC Algorithm. Each of them all can do GC in ...
Erupt asked 4/6, 2011 at 12:24
4
While running java application I'm getting the following memory dump.
After installing java 8(with java 7 application was working before) I started getting the below error.
I'm using 16 GB RAM an...
Arietta asked 23/5, 2016 at 11:2
1
Solved
I am using exec-maven-plugin to run java app. I need to pass both JVM params and program arguments. I am setting JVM params like this:
<artifactId>exec-maven-plugin</artifactId>
<v...
Hysterotomy asked 9/5, 2018 at 19:28
2
Solved
I'm running a Java program and I need to get how much time each it spent garbage collecting.
I found these 2 JVM flags:
-XX:+PrintGCApplicationConcurrentTime
-XX:+PrintGCApplicationStoppedTime
b...
Sequoia asked 7/3, 2016 at 19:5
1
Solved
I want to understand the difference between:
-XX:+PrintGC and -verbose:gc
Apparently these look similar.
This article doesn't list the verbose:gc
http://www.oracle.com/technetwork/articles/java/vm...
Altruistic asked 2/4, 2018 at 9:54
1
Solved
When running project from IntelliJ IDEA I set VM options -XX:MaxPermSize=512m -Xmx=256m -Xms=256m and get the following error
Error: Could not create the Java Virtual Machine.
Error: A fatal ex...
Witticism asked 28/2, 2018 at 14:2
3
Solved
As you can see on below screenshots, eclipse and Android SDK Manager (and other Java programs) are trying to connect to a IPv4 Internet IP via IPv6 TCP/IP stack while Proxifier (a proxy manager pro...
Gruel asked 7/8, 2012 at 16:56
5
Solved
I need to check if some option that can be passed to JVM is explicitly set or has its default value.
To be more specific:
I need to create one specific thread with higher native stack size than th...
Baty asked 29/9, 2009 at 6:22
© 2022 - 2024 — McMap. All rights reserved.