Questions tagged [jvm-arguments]

Command-line options and environment variables that can affect the performance characteristics of the Java Virtual Machine

There are several categories of JVM arguments:

  1. Standard options recognized by the Java application launcher (e.g. -client, -classpath, ...)
  2. Options that begin with -X which are non-standard (not guaranteed to be supported on all VM implementations) and are subject to change without notice in subsequent releases of the JDK (e.g. -Xbootclasspath, -Xms, -Xloggc, ...)
  3. Options that are specified with -XX are not stable and are subject to change without notice (e.g. -XX:+PrintGCDetails, -XX:-UseParallelGC, ...)

References:

703 questions
-1
votes
1 answer

Java command line comment option

It would be useful to have a java runtime option which does not do anything but only for informational purposes. Background: We have a custom scheduler system with Web interface where we put command lines to start our jobs, and having that option…
ALV00
  • 9
  • 2
-1
votes
2 answers

UBUNTU Minecraft Paper Server Insufficient memory for the Java Runtime Environment

I have a Microsoft Azure VM Instance Running on which I have minecraft paper server installed. Today I'm not able to start the server due to some java error caused while running the server command via ssh-putty. Server OS: Ubuntu 18.04.5…
john doe
  • 11
  • 4
-1
votes
1 answer

JVM initial heap memory allocation

I have specified the -Xms and -Xmx values as the same say 4GB. Now when I start my spring-boot application, I was under my assumption that OS will allocate 4GB of memory right after starting the application since that is the value specified using…
CrazyCoder
  • 2,465
  • 8
  • 36
  • 57
-1
votes
1 answer

Out-of-memory-error on Minecraft Server with 16G RAM

Please excuse my inexperience, this is my first time on the site. I have a Dell PowerEdge r710 with 2 Xeon L5630 CPUs and 16G RAM installed. I'm trying to host a Minecraft 1.7.10 Forge Server that runs perfectly fine on my Desktop, but refuses to…
-1
votes
1 answer

how can I allocate jvm to Talend?

I have 16 gb windows system and I want to allocate 12gb to Talend. Is there anyone who knows this. What parameters are needed to change in Talend's configuration .ini file?
Palak
  • 55
  • 1
  • 10
-1
votes
1 answer

How to specify java vm in VM arguments

I have a maven project I want to run it using 64 bit jvm in the project run configuration under VM arguments I set the following -vm C:/Program Files/Java/jdk1.8.0_60/bin It says Unrecognized option -vm Can anyone tell me how to set jvm from VM…
Ragnar
  • 645
  • 8
  • 28
-1
votes
1 answer

JAVA - VM Arguments is not saving when exporting to zip/archive

Im using eclipse :D screenshot everytime i import it to other computer, the arguments disappear T_T
Google0593
  • 59
  • 13
-1
votes
2 answers

Reading default JVM property using program

I am trying to read current entity expansionDjdk.xml.entityExpansionLimit limit, but it is giving null. I tried the following…
Arvind
  • 1,207
  • 6
  • 27
  • 55
-1
votes
1 answer

Can't jar -tvf a jar file

I have a jar file and ls -ltr on the file shows me valid file size and permissions. When I open this file using 7Zip, it opens successfully and the .jar file contains a valid MANIFEST.MF file as…
AKS
  • 16,482
  • 43
  • 166
  • 258
-1
votes
2 answers

Java - Default value of MaxPermSize - Sun JVM

Possible Duplicate: Default values for Xmx, Xms, MaxPermSize on non-server-class machines We are using Sun JVM, and need to know the default value assigned to MaxPermSize We are not passing any arguments to JVM from this thread Why is the default…
Kumar D
  • 1,308
  • 5
  • 19
  • 43
-2
votes
1 answer

JVM does not allocate all memory that is defined with -Xmx argument

I have a jar file that i run with a systemd unit file. The run command in the unit file is the following: ExecStart=/usr/bin/java -Xms200m -Xmx465m --enable-preview -jar myapp-1.0.0.jar My application always logs the maximum amount of RAM it is…
Maurice
  • 6,698
  • 9
  • 47
  • 104
-2
votes
1 answer

Intellij 14 ultimate version runs very slow with java jdk 1.8

I have searched some articles online says there are ways to optimize the speed with jdk 1.7, but by changing jvm memory size seems not working with jdk 1.8 version. any solutions to this issue ? thanks.
-3
votes
3 answers

Startup Script for Java

I am trying to figure out to make a startup script for my java application, I tried making an installer for this in advanced installer. Over there I added the jvm arguments but it did not work, well that is a separate issue... What I am asking is:…
Daksh Shah
  • 2,997
  • 6
  • 37
  • 71
1 2 3
46
47