java-opts Questions

2

Solved

I am trying to fix the issue with running Nexus IQ scanner using Java 17 runtime. The error is java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class java.la...
Dagnah asked 13/12, 2022 at 10:55

3

Running a large Gradle build (with JDK7) I receive two OutOfMemoryErrors: Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "main" Exception: java.lang.OutOf...
Garber asked 8/5, 2017 at 7:16

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

I'm using IntelliJ 14.3 on x64 Java. Available memory: 10Gb (out of 16Gb total RAM) (Basically set -Xmx8000M or greater) The problem is I need more than 4Gb memory to use for an App. I can not fi...
Default asked 1/7, 2016 at 9:31

1

Solved

Here is an excerpt of the output that I get when I run the following command (40 is just an arg to the Fibonacci program) : java -XX:+UnlockDiagnosticVMOptions -XX:CompileCommand="print Fibonacci:...
Bondy asked 23/6, 2017 at 22:2

7

I'm trying to set JAVA_OPTS for Tomcat on a Windows machine, but I keep getting an error if I add more than one variable. For example, this works: set JAVA_OPTS="-Xms512M" But this does not: s...
Hyperbaric asked 6/2, 2013 at 14:13

3

Solved

I have one Model Object. In which, i have multiple values. I want to store this Values in SQLite. But data is large, so i want to store Direct Model object in databse. So i convert model Object to ...
Precognition asked 7/7, 2016 at 6:23

2

Solved

Environment: Linux/Windows7, Java 1.6.0.03/37 or 1.7 I downloaded jenkins.war and after the initial setup using the following script/command, I downloaded some plugins(10-15) and tried to restart ...
Kilpatrick asked 1/8, 2013 at 17:35

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

3

I have placed JVM options via JAVA_OPTS in catalina.sh in the catalina base. However, the system doesn't pick those options--I am trying to pass profiling information to set paths for project prope...
Einsteinium asked 13/7, 2014 at 14:42

1

Solved

-Xss256k -Djava.net.preferIPv4Stack=true -Dfile.encoding=UTF-8 -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+DisableExplicit...
Shakta asked 18/12, 2014 at 18:43

3

Solved

I have a java program, which i ran and figured out its process id with jps. How can i see what is the value of -Xms and -Xmx variable for this java process ?
Penmanship asked 15/1, 2015 at 9:0

2

I have an app on jboss which logging through log4j. When I running my server through bat file (standalone.bat) logs work, but there is a problem under standalone.sh file. Here is how I set JAVA_OPT...
Calise asked 23/9, 2013 at 11:7

2

Solved

I was wondering, what does the -->-- operator do in Java? For example, if I have the following code: int x = 3; int y = 3; if (x -->-- y) { return true; } This always returns true. Than...
Edible asked 30/11, 2014 at 3:59

2

Solved

Hope you can help me. I have a strange org.apache.catalina.startup.Bootstrap icon on my dock in mac. Im using the 10.7.2 version with Lion. I've use this: export JAVA_OPTS="-Djava.awt.headless=true...
Devoice asked 30/3, 2012 at 16:48

1

I have a tomcat7 service running on windows, Usually in order to configure the Java options I go to Tomcat 7.0\bin\tomcat7w.exe and there in java tab, in java options I print the definition I want,...
Clypeus asked 8/2, 2012 at 12:15
1

© 2022 - 2024 — McMap. All rights reserved.