Xdock:name= override default application name displayed in dock -Xdock:icon= override default icon displayed in dock -Xcheck:jni perform additional checks for JNI functions -Xshare:off do not attempt to use shared class data -Xshare:auto use shared class data if possible (default) -Xshare:on require using shared class data, otherwise fail. Xrs reduce use of OS signals by Java/VM (see documentation) Xfuture enable strictest checks, anticipating future default Xbootclasspath: set search path for bootstrap classes and resources -Xbootclasspath/a: append to end of bootstrap class path -Xbootclasspath/p: prepend in front of bootstrap class path -Xnoclassgc disable class garbage collection -Xloggc: log GC status to a file with time stamps Here's what the output of those commands looks like from my JVM: ![]() You can find more options for controlling Java application memory use by looking at the output of the java -X command. (The important part here is the -Xm圆4m portion of the command.) More Java memory-related command line arguments Where THE_CLASSPATH and PROGRAM_NAME are variables set earlier in my script. Use this syntax to specify the amount of memory the JVM should use: Use -Xss to set the Java thread stack size.Use -Xms to specify the initial Java heap size.Use -Xmx to specify the maximum heap size.The short answer is that you use these java command-line parameters to help control the RAM use of application: Java/Scala memory FAQ: How do I control the amount of memory my Java program uses (i.e., Java RAM usage)? Java RAM: Short answer
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |