How to pass VM argument to tomcat in eclipse



Contents of page >

  • Now we will learn How to pass VM argument to tomcat in eclipse
    • Step 1: Double click on Tomcat v7.0 Server
    • Step 2: Click on Open launch configurations
    • Step 3: Go to tab Arguments


Earlier we learned >

How to write java program to pass VM/JVM parameters through CMD

And how to pass vmArgs(JVM parameters) to java program in eclipse



Now we will learn How to pass VM argument to tomcat in eclipse

Step 1:
Double click on Tomcat v7.0 Server

Step 2:
Click on Open launch configurations

Step 3:
Go to tab Arguments
Then enter VM arguments

Click Apply and OK.

Summary -
So in this tutorial we learned how to pass VM argument to tomcat in eclipse.




Having any doubt? or you liked the tutorial! Please comment in below section.
Please express your love by liking JavaMadeSoEasy.com (JMSE) on facebook, following on google+ or Twitter.


RELATED LINKS>

How to write java program to pass VM/JVM parameters through CMD


 

Different type of garbage collectors in java>

>Serial collector / Serial GC (Garbage collector) in java

>Throughput GC (Garbage collector) or Parallel collector in java

>Concurrent Mark Sweep (CMS) collector / concurrent low pause garbage collector in java

>G1 garbage collector / Garbage first collector in java


JVM in detail - Garbage collection & heap structure >

>JVM Heap memory (Hotspot heap structure) with diagram in java


>What are Minor, Major and Full garbage collection in JVM in java



Important VM parameters >

>Most important and frequently used VM (JVM) PARAMETERS with examples in JVM Heap memory in java


eEdit
Must read for you :