jvm-arguments Questions

1

Solved

I am having a few encoding problems here. This is on a W10 OS but I'm using both the DOS console and the Cygwin shell to run tasks directly. When in Eclipse I'm running using the Buildship plugin...
Stypsis asked 11/6, 2017 at 11:1

1

Solved

I am using single node Kafka broker (0.10.2) and single node zookeeper broker (3.4.9). I am having a consumer server (single core and 1.5 GB RAM). Whenever I am running a process with 5 or more thr...

3

Solved

It is commonly known that it is possible to limit the Java heap size with -Xmx<amount><unit>, where unit is the data amount unit like Gigabyte, Megabyte, etc. I know that -Xmx128M...
Zoology asked 16/5, 2014 at 16:19

1

After modifying the sbtconfig.txt file I would like to know if there is any command in SBT that would allow me to check if this values are really in effect. After typing "settings -V" I see lots o...
Cassell asked 12/2, 2017 at 22:12

6

Solved

After reading already asked question on the subject and a lot of googling I am still not able to have a clear view of -Xms option My question is: what's the difference between java -Xms=512m -Xmx=5...
In asked 8/7, 2009 at 14:33

5

I am using Java 5 and our custom server application needs GC tunning, as some times we are experiencing 15-20 seconds pause on peak hours. We are running Java 5 on a server class machine with JVM a...
Errantry asked 15/2, 2012 at 18:22

1

Solved

Suppose I have this code (it really does not matter I think, but just in case here it is): public class AtomicJDK9 { static AtomicInteger ai = new AtomicInteger(0); public static void main(Str...
Darter asked 27/12, 2016 at 18:50

3

I am trying to run JBoss TattleTale from an Ant buildfile. Usually I run it from the commandline like so: java -Xmx512m -jar /home/myuser/jars/tattletale.jar /home/myuser/projects/lib /home/myuser...
Doridoria asked 14/10, 2012 at 15:52

1

Solved

My Java Webstart application runs in a controlled trusted environment. This is a closed internal network where I have some control on how the application is started. How can I pass JVM arguments ...
Brady asked 2/12, 2016 at 12:43

3

Solved

I thought it would be great to have a comparison between _JAVA_OPTIONS and JAVA_TOOL_OPTIONS. I have been searching a bit for one, but I cannot find anything, so I hope we can find the knowledge he...
Notability asked 4/2, 2015 at 17:26

4

Solved

There a lot of JVM arguments that affect the JVM's memory usage like -Xms, -Xmx, -Xns, -XX:MaxPermSize... What do they do? Are there any more? Which one do I have to increase when I get what erro...
Craiova asked 8/11, 2013 at 16:45

2

Solved

What does the java option -XX:-EliminateAllocations do? I couldn't find any documentation about it.
Lissa asked 27/7, 2016 at 12:45

5

Solved

I've got a Java Application running against Apache Tomcat, under Windows. There are two ways of running this application - either as a Windows Service, or from a batch file to invoke Tomcat manuall...
Peder asked 6/1, 2015 at 22:54

6

Solved

I was recently reading about all the JVM arguments available in JRE 6 [Java VM Options] and saw this : -XX:+StringCache : Enables caching of commonly allocated strings. Now I was always under ...
Cystectomy asked 26/6, 2009 at 16:14

2

Solved

I'm running a Java process with the XX:+HeapDumpOnOutOfMemoryError JVM flag and seeing the following output: java.lang.OutOfMemoryError: Java heap space Dumping heap to /local/disk2/heaps/heapdump...
Assure asked 11/3, 2016 at 0:57

2

I'm trying to run sbt start in a Play Framework application written in Scala, on a machine that is an ec2 t2.micro instance on AWS. But i can't because There is insufficient memory for the Java Run...
Hosea asked 16/9, 2014 at 19:47

7

Solved

The default JVM parameters are not optimal for running large applications. Any insights from people who have tuned it on a real application would be helpful. We are running the application on a 32-...
Guglielmo asked 19/2, 2009 at 5:24

1

So I have a fairly loaded env variable for _JAVA_OPTIONS export _JAVA_OPTIONS="-Dhttp.proxyHost=my-proxy.com -Dhttp.proxyPort=1080 -Dhttps.proxyHost=my-proxy.com -Dhttps.proxyPort=1080 -Dsocks...
Manolo asked 27/7, 2013 at 21:54

2

Solved

I use this jvm option in order to create gc logs and enable rolling: $ java -Xloggc:gc.log -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+UseGCLogFileRotation -...
Shedd asked 9/10, 2013 at 13:56

4

Solved

I've recently installed a new JDK (1.7u9), and I got some very strange VerifyErrors. In a thread I found that it could help me if I use a -XX:-UseSplitVerifier magic switch for the compilation. Wh...
Virgule asked 17/10, 2012 at 8:52

1

At the moment there is possibility to run JVM with an agent: -javaagent:somejar.jar this way in order to run the Java agent I have wrote as an I have to put it into a jar. therefore it is limite...
Hachmann asked 12/1, 2016 at 10:48

2

How can I find which Java options (Xmx, Xms, Xss, etc) are being used by Maven? I've found out that a way to set them is via the environment MAVEN_OPTS. Now I want a way to be assured it's getting...
Hellcat asked 12/1, 2016 at 9:2

4

Solved

I see this parameter in all kinds of places (forums, etc.) and the common answer it help highly concurrent servers. Still, I cannot find an official documentation from sun explaining what it does. ...
Oralee asked 13/7, 2009 at 15:16

1

Solved

What is the difference between the JVM arguments noverify and Xverify:none?
Cutch asked 25/12, 2015 at 17:59

3

Solved

I tried searching the internet about -Xmn option, without success. Can someone please explain what this stands for and how can I use it to tune JVM?
Slot asked 27/5, 2014 at 4:5

© 2022 - 2024 — McMap. All rights reserved.