java - JVM启动参数-Xmx的默认值是多少?
黄舟
黄舟 2017-04-18 10:13:06
0
2
930
黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all (2)
左手右手慢动作

Oracle’s official documentation was not found. Please try the explanation in the SO answer.
http://stackoverflow.com/ques...

    阿神

    To answer your actual question: Only runserver模式下的时候才是min(1G, 物理内存的四分之一)所以依你的情况应该是1G的样子 当然别忘了要用java -server <类名>to start your program ..

    You can also try printing the value ofRuntime.getRuntime().maxMemory()in the program to see what it is

      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!