Java native memory usage

前端 未结 6 1747
有刺的猬
有刺的猬 2020-12-09 20:59

Is there any tool to know how many native memory has been used from my java application ? I\'ve experienced outofmemory from my application : Current setting is : -Xmx900m

6条回答
  •  有刺的猬
    2020-12-09 21:40

    If you use for example jvisualvm ( it's shipped with jdk ) you can see how much memory your application is using, you can also profile it more detailously.

提交回复
热议问题