[prev in list] [next in list] [prev in thread] [next in thread] 

List:       groovy-dev
Subject:    [groovy-dev] Re: High CPU and Memory Usage in Groovy Application
From:       Andre Steingress <andre.steingress () me ! com>
Date:       2011-03-15 7:18:33
Message-ID: 3dab921f-ca27-cfad-fb21-fb58be3398ae () me ! com
[Download RAW message or body]

top shows information about the os process, its not a java vm related tool take a \
look at the top man page  (http://linux.die.net/man/1/top) :

VIRT: The total amount of virtual memory used by the task. It includes all code, data \
and shared libraries plus pages that have been swapped out.

VIRT = SWAP + RES.

RES: The non-swapped physical memory a task has used.

RES = CODE + DATA.

which means you can't indicate the size of the heap just by using the top command.

you should trust your profiler or use jmxConsole to get the exact heap size.

Cheers, Andre


[Attachment #3 (multipart/related)]

[Attachment #5 (text/html)]

<html><body><div>top shows information about the os process, its not a java vm \
related tool. take a look at the top man page&nbsp; (http://linux.die.net/man/1/top) \
:<br><br>VIRT: The total amount of virtual memory used by the task. It includes all \
code, data and shared libraries plus pages that have been swapped out.<br><br>VIRT = \
SWAP + RES.<br><br>RES: The non-swapped physical memory a task has used.<br><br>RES = \
CODE + DATA.<br><br>which means you can't indicate the size of the heap just by using \
the top command.<br><br>you should trust your profiler or use jmxConsole to get the \
exact heap size.<br><br>Cheers, Andre</div></body></html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic