![]() 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 |