jvm-arguments Questions
6
Solved
They are algorithms for the young generation garbage collection.
The second one (UseParNewGC) gets activated automatically with the concurrent tenured generation garbage collection (see Java Conc...
Tanner asked 20/1, 2010 at 13:11
3
Solved
I'm trying out VS Code by moving a project I did on Eclipse to it. I had a run configuration in Eclipse for this project which had the following JVM arguments:
--module-path lib/javafx-sdk-13/lib -...
Peshawar asked 3/2, 2020 at 16:10
4
Is there any way of launching Oracle's Java.exe and have it take its command line options from a text file on Windows?
What I'd like to be able to do is something like this:
java.exe -optionsFile...
Bobbette asked 29/8, 2017 at 15:16
1
After changing the Java version to 17 I can't build the Gradle project.
I am using Gradle 7.3.1 version and have the following line in Gradle properties:
org.gradle.jvmargs=-Dfile.encoding=UTF-8 -X...
Cloraclorinda asked 3/12, 2021 at 13:5
16
First of all, I have a box with 8gb of ram, so I doubt total memory is the issue.
This application is running fine on machines with 6gb or less.
I am trying to reserve 3GB of space using -Xmx3G un...
Debark asked 16/2, 2012 at 0:37
4
Solved
I am confused about the instruction when using Kinesis Video Stream
Run DemoAppMain.java in ./src/main/demo with JVM arguments set to
-Daws.accessKeyId={YourAwsAccessKey} -Daws.secretKey={YourAwsS...
Shattuck asked 19/6, 2018 at 23:54
3
Solved
I have a docker application that runs a java jar inside from the command line. I have set up the docker container to pass through "other java options", and in this case I would like to pass the fol...
Scalping asked 27/7, 2017 at 16:34
3
Solved
In a shell script, I have set the JAVA_OPTS environment variable (to enable remote debugging and increase memory), and then I execute the jar file as follows:
export JAVA_OPTS="-Xdebug -Xrunjdwp:t...
Milord asked 6/1, 2010 at 6:34
13
Solved
I'm using IDEA 12 Leda on Mountain Lion. I wanted to increase the maximum memory that IDE can use. I set the VMOptions in Info.plist file to be
-Xmx2048m -ea -XX:+HeapDumpOnOutOfMemoryError -Xverif...
Plast asked 27/11, 2012 at 5:43
5
Solved
I have always wondered, why does Java require you set the heap size manually? I was under the impression that programs written in other languages would just allocate as much memory as needed as the...
Linguistics asked 18/8, 2010 at 21:2
7
Solved
I need to run a Java memory intensive application that uses more than 2GB, but I am having problems to increase the heap maximum size. So far, I have tried the following approaches:
Setting the -...
Transhumance asked 12/6, 2010 at 22:5
5
Is there a way that I can set the default heap size for the jvm on my own computer? I want to set it to 1g, because I'm always running custom programs that always hit the overage point in the defau...
Joslin asked 19/5, 2009 at 3:38
5
Solved
I need to add default JVM options to my jar, when build with Gradle.
From the documentation I got that I have to set:
applicationDefaultJvmArgs = ["-Djavafx.embed.singleThread=true"]
I have not ...
Caddell asked 6/2, 2016 at 18:45
1
In one of my computers, there is JRE 1.8.0_45 and in another machine there is OpenJDK.
I want to set the JVM flag Dlog4j2.formatMsgNoLookups=true, but where can I write this piece of configuration?...
Peacoat asked 11/12, 2021 at 9:27
8
I am running into this error while running my installer on a Solaris machine:
Installing...
-------------
[==================|==================|==================|==================]
[---Invoc...
Theone asked 15/1, 2014 at 7:55
4
Solved
I just installed Ubuntu 64Bit on my VServer and JRE build 1.7.0_67-b01.
If I want to run a java jar-file it says
Invalid maximum heap size: -Xmx
Error: Could not create the Java Virtual Machin...
Theism asked 7/8, 2014 at 19:32
3
Solved
I am using spring-boot-maven-plugin to build a docker image from my app with this command:
spring-boot::build-image
And I need to change default size of jvm direct memory (default is 10m) with thi...
Gangway asked 13/1, 2021 at 20:10
7
Solved
Considering the following command line
java -Xms128m -Xms256m myapp.jar
Which settings will apply for JVM Minimum memory (Xms option) : 128m or 256m ?
Ctenophore asked 29/4, 2010 at 20:56
3
Solved
(I know this is probably a duplicate, but is it almost impossible to search this topic on Google or on SO.)
I know the java.compiler system property can take "NONE" which disables the JIT compiler...
Grisaille asked 26/11, 2013 at 21:52
1
Solved
I have a situation where the one of the JVM options, the "-D" flag is large, over 1000 characters. Is there a limit how large this value can be?
-Dhttp.nonProxyHosts=localhost|127.0.0.1|1...
Zhdanov asked 17/3, 2021 at 14:21
4
I have gone through
Setting java.awt.headless=true programmatically
http://www.oracle.com/technetwork/articles/javase/headless-136834.html
and
Some other links too.
Nowhere it is explained the ...
Ramin asked 9/12, 2016 at 19:3
3
Solved
I am running Elasticsearch inside a Docker container in Linux (Ubuntu). I am having a lot of circuit_breaking_exception problems, citing a 486.3mb limit; so I've decided to raise my JVM heap size a...
Washrag asked 6/10, 2020 at 8:35
8
Solved
I am running a program that I've written in Java in Eclipse. The program has a very deep level of recursion for very large inputs. For smaller inputs the program runs fine however when large inputs...
Aerobiology asked 24/1, 2010 at 13:35
8
Solved
Given these two commands
A:
$ java -Xms10G -Xmx10G myjavacode input.txt
B:
$ java -Xms5G -Xmx5G myjavacode input.txt
I have two questions:
Since command A reserves more memory with its par...
Efficiency asked 25/6, 2009 at 13:10
3
Solved
I'm trying to run a Java application with -Dsun.java2d.dpiaware=false argument but nothing happens.
I expect to have a blurred UI but with normal size of icons and fonts, it seems that this flag d...
Brett asked 31/5, 2015 at 8:31
1 Next >
© 2022 - 2024 — McMap. All rights reserved.