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
0
votes
1 answer

Increase memory in Jboss eap 5.1

I' m using Jboss-eap-5.1. when I trying to change memory parameters through run.conf.bat, it is not change. when I run the server after doing changes i saw through Java Visual VM, changes are not applied. How can I change the memory sizes in…
yapa
  • 161
  • 4
  • 17
0
votes
2 answers

Cannot assign additional memory to Coldfusion JVM

Good Day, I am running Coldfusion 8 MX on a Windows 2003 32bit server with 4gig of RAM (2gig is always free) but I am unable to assign much more than 550m to the JVM. I had already submitted this question but it got too long and confusing with all…
M Lamb
  • 199
  • 1
  • 8
0
votes
1 answer

eclipse slash in vm argument

I have the same code running on Java 6 and Java 7, but in Java 7 it doesn't work as I expect. I write in the VM argument: -Dmy.root=D:\mvobs\S.4.8.600_view\ When I run it with Java 6 everything is OK: my.root=[D:\mvobs\S.4.8.600_view\\] but in…
0
votes
1 answer

It be fail to startup MyEclipse 10.7 when the argument -vm be changed to other jdk ,SOS

why I can't change myeclipse 10.7 64bit configeration file : myelispse.ini, change config argument "-vm" will fail to start up.by the way,my operation system is win8 64bit,and my jdk work without any problem. someone could tell me the reason and…
skcks
  • 46
  • 6
0
votes
1 answer

Xbooting a Java class

Basically I want to replace the Canvas class at runtime by an application that uses my custom Canvas class, I heard xbooting can do this but there are no tutorials or anything. So I'm just wondering what the vm arguments are, can you help me please?
Francis Malloch
  • 1,074
  • 9
  • 20
0
votes
2 answers

HotSpot JVM Option HeapDumpOnOutOfMemoryError - Any Issues?

I've recently learned about the -XX:+HeapDumpOnOutOfMemoryError VM argument and was told that it should be added as a matter of course to the HotSpot JVM as it is off by default. One of my co-workers made a comment that maybe we shouldn't because…
sdoca
  • 7,832
  • 23
  • 70
  • 127
0
votes
3 answers

How to configure JVM to allocate memory only when is really necessary?

I have an application that can be executed when I use the jvm command -Xmx65m. Although it is running fine, I want to allow the application to consume more memory, because it has some features that require it. The problem is that if I increase the…
Daniel Pereira
  • 2,720
  • 2
  • 28
  • 40
0
votes
2 answers

Java heap /pool size

When I start JVM it reserves at least {{xms}} memory, right? That means this memory is private for JVM process (it is malloced), yes? When JVM needs to increase heap at reserves (mallocs) more memory. But how much? I do not believe it reserves…
user996142
  • 2,753
  • 3
  • 29
  • 48
0
votes
1 answer

Running VM arguments from Jar file without wrapper

referring to this: Runnable jar with jvm args I know it's possible to build/export a runnable jar from netbeans with embedded VM arguments. But i'm trying to move to eclipse and try stuff out. Is there any way to do this in eclipse without having to…
Sammy Guergachi
  • 1,986
  • 4
  • 26
  • 52
0
votes
1 answer

In Java, the PermGen space is said to be "scaled 30% larger". Does this mean max is no longer necessary?

I recently had cause to look at the documentation for the -XX:MaxPermSize argument to the JVM. Its documentation says in part: 5.0 and newer: 64 bit VMs are scaled 30% larger Does this mean that MaxPermSize is obsolete for Java 1.5 and later…
Laird Nelson
  • 15,321
  • 19
  • 73
  • 127
0
votes
1 answer

How to increase the Heap Size for Eclipse?

I have: 64bit Win 7 64bit JROCKIT 1.6 64bit…
Rahul Thakur
  • 882
  • 16
  • 31
0
votes
0 answers

Failed to change Tomcat 5.5 JVM Memory settings (Linux server)

I want to increase the JVM memory settings for my Tomcat 5.5 instance (on Linux server with 1.8 gigs of memory). Current JVM Status: Free memory: 15.60 MB Total memory: 26.00 MB Max memory: 405.37 MB I just can't get these settings to budge. I…
Arno Hart
  • 21
  • 1
  • 3
0
votes
1 answer

Jar bundler -d32 vm arguments

I have created an application which uses 32bit libraries on my 64bit Mac Lion so to run my application I need to pass -d32 vm argument in eclipse and it works fine. I created runnable jar of application and it also works fine when I run jar from…
Sandeep Kumar
  • 13,799
  • 21
  • 74
  • 110
0
votes
1 answer

Access JVM options in Camel Context

I have JVM option to define each envrionment. It is something like -Denv="development". How can I access this JVM option in camel context and decide my route based on the env value?
Himanshu Yadav
  • 13,315
  • 46
  • 162
  • 291
-1
votes
1 answer

Can command line tool used in java opts?

I expect my program run as such when run a start up script: /opt/bin/java -Dgroup.profile=GROUP_270731 -Dother=other xxx.xxx.MainClass while my script is like #!/bin/shell JAVA_OPTS=getOpts ${JAVA_HOME}/bin/java $JAVA_OPTS $OTHER_ARGS…
Lo1nt
  • 17
  • 1
  • 3
1 2 3
46
47