简体   繁体   中英

What is the JVM memory allocated by default

In my Catalina.bat file

:doStop
shift
set ACTION=stop
set CATALINA_OPTS=
goto execCmd

Xms has not specified , so what would be the memory allocated by default ??

is there any specific command to check the allocation given to the jvm ?

Java will choose default values depending on the actual environment, see http://docs.oracle.com/javase/7/docs/technotes/guides/vm/gc-ergonomics.html . To see actual memory options run java with -XX:printCommandLineFlags. Another option is to run jconsole util, connect to running Java app and go to "VM Summary" tab.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM