How do I provide JVM arguments to VisualVM?

后端 未结 6 2027
眼角桃花
眼角桃花 2021-01-30 07:44

I\'m using VisualVM from JDK 1.6.0_26 to profile a Java webapp running under Tomcat, but VisualVM often tells me that it doesn\'t have enough memory to take a snapshot, and to u

6条回答
  •  深忆病人
    2021-01-30 08:43

    Should be able to modify the memory settings in %JDK_HOME%\lib\visualvm\etc\visualvm.conf

    Xms and Xmx are in the default_options line.

提交回复
热议问题