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...
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 ...
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...
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 ?
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...
2
Solved
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...
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,...
1
© 2022 - 2024 — McMap. All rights reserved.