Jmap -heap (Tomcat ID) issues

Hello,

I have created a script based off the information jmap -heap (tomcat ID)of OLD gen and Permspace. This scripts runs every minute. Developers at my company believe that Jmap is a cause of recent tomcat hangs. Tomcat is not running out of memory just non responsive. I was wondering how resource intensive jmap -heap really is? ANy know issues of jmap -heap hanging tomcat? My script is a basic script just redirecting the jmap -heap to a file gutting that file for the UESED of old gen and permspace and emailing me if they are at a certian % used.

Thanks

[581 byte] By [gotjavaa] at [2007-11-26 17:30:31]
# 1
jmap -heap uses the Serviceability Agent (SA) to attach to the target process and read the bits needed to created the heap summary. While this is happening the target process is suspended temporarily and that might explain the behaviour you are seeing.
alan.batemana at 2007-7-8 23:58:27 > top of Java-index,Core,Monitoring & Management...