Re: explain high virtual memory claimed by Java process

2018-08-08 Thread Wolfgang Pedot
Hi, maybe pmap can help shed some light on this. Memory mapped files/stuff (like GPU registers/mem) also contribute to virtual size without actually using RAM, could that be the cause? Wolfgang Am 08.08.2018 um 04:40 schrieb Tao Mao: Hi gc exports, I have a Java  application with following

Re: explain high virtual memory claimed by Java process

2018-08-07 Thread Thomas Stüfe
Hi Tao On Wed, Aug 8, 2018 at 4:40 AM, Tao Mao wrote: > Hi gc exports, > > I have a Java application with following JVM options: > "-Xms128m -Xmx256m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=256m" > > When I use top to check memory usage, I got a very high virtual memory but a > reasonable re

explain high virtual memory claimed by Java process

2018-08-07 Thread Tao Mao
Hi gc exports, I have a Java application with following JVM options: "-Xms128m -Xmx256m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=256m" When I use top to check memory usage, I got a very high virtual memory but a reasonable resident memory as below: PID USER PR NI VIRT RES SHR S %CPU %MEM TIM